document.write( "Question 698617: You buy 1000 foam balls and 3 colors of paint from the craft store. Each time you take a new ball out of the bag, it is randomly painted one of your three colors (red, green, blue). You group every 3 balls together. \r
\n" ); document.write( "\n" ); document.write( "a) How many groups would you expect to have all three balls painted the same color?
\n" ); document.write( "b) If your blue can was 75% empty and only had enough paint to cover 200 balls, how many groups would you expect to have 3 red balls?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #430951 by Edwin McCravy(20063)\"\" \"About 
You can put this solution on YOUR website!
a) How many groups would you expect to have all three balls painted the same color?
\n" ); document.write( "
\r\n" );
document.write( "There will be \"333%261%2F3\" groups.\r\n" );
document.write( "\r\n" );
document.write( "The expected number of three of the same color is np where n=\"333%261%2F3\" and p is\r\n" );
document.write( "the probability of choosing 3 balls painted the same color.\r\n" );
document.write( "\r\n" );
document.write( "Actually to find the probability of choosing 3 we would be choosing without\r\n" );
document.write( "replacement.  However, since there are 1000 balls, the probability of choosing \r\n" );
document.write( "without replacement is approximately the same as choosing with replacement. \r\n" );
document.write( "\r\n" );
document.write( "So the probability of selecting 3 reds is\r\n" );
document.write( "\r\n" );
document.write( "P[(red 1st) AND (red 2nd) AND (red 3rd) = approximately \"expr%281%2F3%29%2Aexpr%281%2F3%29%2Aexpr%281%2F3%29\" = \"1%2F27\".\r\n" );
document.write( "\r\n" );
document.write( "and the probabilities of choosing 3 greens and of 3 blues are the same. So the\r\n" );
document.write( "probability of selecting 3 of the same color is \"1%2F27%2B1%2F27%2B1%2F27\" = \"3%2F27\" = \"1%2F9\".\r\n" );
document.write( "\r\n" );
document.write( "So the expected number is \"333%261%2F3\" groups times \"1%2F9\" or about 37.04\r\n" );
document.write( "\r\n" );
document.write( "-----------\r\n" );
document.write( "

\n" ); document.write( "b) If your blue can was 75% empty and only had enough paint to cover 200 balls, how many groups would you expect to have 3 red balls?
\n" ); document.write( "
\r\n" );
document.write( "On the average when the first 600 have been painted, \"1%2F3\" of them,\r\n" );
document.write( "or 200 will be red, 200 will be green and 200 will be blue.\r\n" );
document.write( "\r\n" );
document.write( "But now we're out of blue paint, so on the average, half the \r\n" );
document.write( "remaining 400, or 200, will be red and the other 200 green.\r\n" );
document.write( "\r\n" );
document.write( "So on the average we end up with 400 reds, 400 greens, and 200 blues.\r\n" );
document.write( "\r\n" );
document.write( "The expected number of three reds is np where and n = \"333%261%2F3\"\r\n" );
document.write( "and p is the probability of selecting 3 reds.\r\n" );
document.write( "\r\n" );
document.write( "Again since there are 1000 balls, the probability of choosing without \r\n" );
document.write( "replacement is approximately the same as choosing with replacement.\r\n" );
document.write( "\r\n" );
document.write( "The probability of selecting a red ball is \"400%2F1000\" = \"2%2F5\"\r\n" );
document.write( "\r\n" );
document.write( "P[(red 1st) AND (red 2nd) AND (red 3rd)] = approximately \"expr%282%2F5%29%2Aexpr%282%2F5%29%2Aexpr%282%2F5%29\" = \"8%2F125\".\r\n" );
document.write( "\r\n" );
document.write( "So the expected number is \"333%261%2F3\" groups times \"8%2F125\" \r\n" );
document.write( "or about 21.33.\r\n" );
document.write( " \r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );