document.write( "Question 1174649: A teacher has two boxes of pens. Box 1 contains 7 blue pens and 3 black
\n" ); document.write( "pens, box 2 contains 2 blue pens and 8 black pens. The probability of
\n" ); document.write( "selecting a pen from box 1 is 2
\n" ); document.write( "3
\n" ); document.write( "and the probability of selecting a pen
\n" ); document.write( "from box 2 is 1
\n" ); document.write( "3
\n" ); document.write( ". If a pen is selected at random what is the probability
\n" ); document.write( "that it is from box 1 given that it is black?
\n" ); document.write( "

Algebra.Com's Answer #800107 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
P (box 1|black)=P(Black|box 1)*Box 1/P(black)
\n" ); document.write( "=0.3*(2/3)/(14/30), the expected probability of a black pen's being chosen with the above probabilities.
\n" ); document.write( "=2/10/14/30 or 2*3/14
\n" ); document.write( "=0.429.\r
\n" ); document.write( "\n" ); document.write( "another way
\n" ); document.write( "-
\n" ); document.write( "=====BLU- BLK-TOT
\n" ); document.write( "Box 1--7----3---10
\n" ); document.write( "Box 1--7----3---10
\n" ); document.write( "Box 2-2----8---10]
\n" ); document.write( "twice as many box 1 because 2/3 probability
\n" ); document.write( "this leads to 16 blue an 14 black for a single choice which is where the 14/30 probability for a black comes from.
\n" ); document.write( "Then given that a black pen is chosen (6/14), six came from box 1, so the probability is 0.429, equalling the one above.
\n" ); document.write( "
\n" );