A machine dispensed red gumdrops into bags of various sizes. Number of red gumdrops Number of bags 22 2 73 2 83 2 147 3 160 1 X is the number of red gumdrops that a randomly chosen bag had. What is the expected value of X? Write your answer as a decimal.

Respuesta :

To find the expected number of gumdrops from taking a bag, calculate the weighted average of the number of bags weighted by the amount of gumdrops that they contain:

[tex]\frac{2\cdot22+2\cdot73+2\cdot83+3\cdot147+1\cdot160}{2+2+2+3+1}=\frac{957}{10}[/tex]

Then, the expected value of x is:

[tex]x=95.7[/tex]

Therefore, the expected number of red gumdrops that a randomly chosen bag will have, is:

[tex]96[/tex]