document.write( "Question 1135130: Rework problem 28 from section 3.4 of your text, involving the drawing of two balls from a box of colored balls. Assume the box contains 10 balls: 5 red, 3 blue, and 2 yellow. A ball is drawn and its color noted. If the ball is yellow, it is replaced; otherwise, it is not. A second ball is then drawn and its color is noted.
\n" ); document.write( "What is the probability that the first ball was yellow, given that the second was red?
\n" ); document.write( "

Algebra.Com's Answer #752675 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
One can make a tree diagram and determine that
\n" ); document.write( "RR is 2/9
\n" ); document.write( "RB is 1.5/9
\n" ); document.write( "RY is 1/9
\n" ); document.write( "BR is 1.5/9
\n" ); document.write( "BB is .6/9
\n" ); document.write( "BY is .6/9
\n" ); document.write( "YR is 1/10
\n" ); document.write( "YB is 6/100
\n" ); document.write( "YY is 4/100
\n" ); document.write( "Those do add to 1.00
\n" ); document.write( "So, if the second is red 10/100+15/90+20/90 or 35/90 + 10/100 or 440/900,
\n" ); document.write( "the first one was yellow is 10/100 or 90/900
\n" ); document.write( "The answer is 90/440 or 0.2045
\n" ); document.write( "
\n" ); document.write( "
\n" );