As a promotion, a cereal brand is offering a prize in each box, and there are four possible prizes. You would like to collect all four prizes, but you only plan to buy six boxes of the cereal before the promotion ends. Assume you have a random number generator that weights all numbers equally in a range you provide.
a. Explain how you could simulate the prizes found in one set of six boxes of cereal.
b. Explain how you could use simulation to estimate the probability of obtaining all four prizes in six boxes of cereal. Assume that all four prizes are equally likely for any given box, and the choice of prize is independent from one box to the next.

  • CreatedOctober 22, 2015
  • Files Included
Post your question