MeMoses
- 127
- 0
Homework Statement
A coin is flipped repeatedly with probability p of landing on heads each flip.
Calculate the average <n> and the variance \sigma^2 = <n^2> - <n>^2 of the attempt n at which heads appears for the first time.
Homework Equations
\sigma^2 = <n^2> - <n>^2
The Attempt at a Solution
I have the probability that head will appear for the first time on the nth attempt to be p(1-p)^{n-1}. Aside from that I'm not sure where to go.