Results 1 to 3 of 3
Like Tree1Thanks
  • 1 Post By ebaines

Math Help - Obtaining prizes - Need help creating a simulation

  1. #1
    Junior Member
    Joined
    Sep 2012
    From
    FL
    Posts
    39

    Obtaining prizes - Need help creating a simulation

    Each box of (brand) cereal contains 1 of 5 different prizes. If there is an equal chance of obtaining each prize, then how many boxes of cereal would you need to purchase in order to collect all of the prizes? Design a simulation that will approximate this result. Explain your experimental design and results.

    Can someone help me? I do not know where to begin.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor ebaines's Avatar
    Joined
    Jun 2008
    From
    Illinois
    Posts
    1,050
    Thanks
    288

    Re: Obtaining prizes - Need help creating a simulation

    If you want to be guarranteed to have at least one of each prize it requires an infinite number of boxes. Here's why: suppose that after collecting 4 boxes you happen to have gotten 4 different prizes - let's call them A, B, C and D - and so the only one missing is prize E. On the fifth box there's a 1 in 5 chance that it contains a prize E, so 4 out of 5 times you'll have to buy another box. But when you buy the 6th box there's only a 4/5 change it has prize E, so you are likely to have to continue on. As you buy more boxes the probability of not ever getting prize E gets smaller, but it never goes to zero.

    For a simulation you can use a random number genarator that determines whether prize 1, 2, 3, 4, or 5 comes in each box, and run a Monte Carlo simulation to see the number required to get at keast one of each prize. You will probably find that it typically takes about 10, with as few as 5 and occasionally needing as many as 20 or more.
    Thanks from jthomp18
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Sep 2012
    From
    FL
    Posts
    39

    Re: Obtaining prizes - Need help creating a simulation

    thank you EBAINES!! I was able to answer this question by your advice.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Probability for prizes!
    Posted in the Statistics Forum
    Replies: 1
    Last Post: March 11th 2012, 06:47 AM
  2. Creating a simulation probablity help?
    Posted in the Statistics Forum
    Replies: 0
    Last Post: March 7th 2012, 02:20 PM
  3. Replies: 4
    Last Post: May 8th 2011, 04:39 AM
  4. Replies: 0
    Last Post: December 15th 2009, 01:24 AM

Search Tags


/mathhelpforum @mathhelpforum