12.0k views
3 votes
40% of OatyPop cereal boxes contain a prize. Hanna plans to keep buying cereal until she gets a prize. What is the probability that Hannah only has to buy 3 or less boxes before getting a prize? if we use random number generator ranging from 1-10 and assign 1-4 as the prize and 5-10 as no prize, what is the best way to perform the simulation?

User Hibento
by
4.6k points

2 Answers

3 votes

Answer:

What is the probability that Hannah only has to buy 3 or less boxes before getting a prize?

1 - (1 - 0.4)^3 = 0.784 = 78.4%

if we use random number generator ranging from 1-10 and assign 1-4 as the prize and 5-10 as no prize, what is the best way to perform the simulation?

We generate 3 numbers if all in the range of 5-10 we write a L if not we write X.

We repeat the experiment several times an dived the numbers of X thru the numbers of letters we have written.

User Don Tomato
by
5.0k points
1 vote

Answer: Keep track of how many tries it takes before you see a 1, 2, 3, or 4 . These represent the number of purchases it will take to get a prize .repeat this 150 times

User Mfro
by
4.8k points