Consider flipping a fair coin, what is the expected number of flips that is needed to have

Question:

Consider flipping a fair coin, what is the expected number of flips that is needed to have three heads. Write a simulation program to confirm the result.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: