document.write( "Question 630084: Please help me with this problem.
\n" ); document.write( "I have 7 chocolate and 5 vanilla candies in a bag and 3 pieces are taken out. What is the probability that 1 is chocolate and 2 are vanilla. Thank you for your help in advance.
\n" ); document.write( "

Algebra.Com's Answer #396726 by AnlytcPhil(1806)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "I have 7 chocolate and 5 vanilla candies in a bag and 3 pieces are taken out.\r\n" );
document.write( "What is the probability that 1 is chocolate and 2 are vanilla.\r\n" );
document.write( "\r\n" );
document.write( "First we calculate the numerator of the probability, which is the number of\r\n" );
document.write( "ways to succeed.\r\n" );
document.write( "\r\n" );
document.write( "There are C(7,1) ways to choose the 1 chocolate and for each of \r\n" );
document.write( "those ways, there are C(5,2) ways to choose the 2 vanillas.\r\n" );
document.write( "\r\n" );
document.write( "So the numerator of the probability is C(7,1)(C(5,2) = 7×10 = 70 ways.\r\n" );
document.write( "\r\n" );
document.write( "The denominator is the number of ways to select ANY three, or C(12,3) = 220.\r\n" );
document.write( "\r\n" );
document.write( "So the desired probability is 70 ways out of 220, or \"70%2F220\" = \"7%2F22\".\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );