Question 987499: Out of 400 little plastic eggs in a barrel, 75 each contain a small diamond, and the rest each contain a small piece of cut glass.
Out of the 400 eggs, 250 are painted red, and 150 are painted blue.
Out of the 75 eggs with diamonds, 45 are painted red, and 30 are painted blue.
You're allowed to take 10 eggs out of the barrel.
Which combination of eggs should you take, to get as many diamonds as possible?
Answer by Boreal(15235) (Show Source):
You can put this solution on YOUR website! With each draw, the probability changes.
Initially, blue has a 0.20 chance, and red has a 0.18 chance
The first four should be blue, but then the probability of the next's being blue is <0.18.
The next is red, then blue, then red,then red, then blue, then red.
BBBBRBRRBR.
Just keep computing the probability as the numerator and the denominator change with each draw.
It is very close, and because blue is smaller, the changes are greater than for red.
30/150
29/149
28/148
27/147
45/250
26/146
44.249
43/248
25/145
42/247
|
|
|