Master Mathematics.

Quantitative Finance · Expectation & Random Variables · Problem 3

Flips until 3 heads

Find the expected number of flips needed to observe heads on a coin with probability of heads per flip.

Source: QuantQuestions.io