document.write( "Question 1206163: Maxim buys a bag of cookies that contains 7 chocolate chip cookies, 7 peanut butter cookies, 4 sugar cookies and 5 oatmeal cookies.\r
\n" ); document.write( "\n" ); document.write( "What is the probability that Maxim reaches in the bag and randomly selects a chocolate chip cookie from the bag, eats it, then reaches back in the bag and randomly selects a peanut butter cookie?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #843416 by ikleyn(52778)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The total number of cookies in the bag is 7+7+4+5 = 23.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The answer to the problem's question is\r\n" );
document.write( "\r\n" );
document.write( "    P = \"%287%2F23%29%2A%287%2F22%29\" = 0.09684  (rounded).    ANSWER\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "The formula is self-explanatory.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Notice that in the formula, the second denominator is 1 less than first denominator.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It is because one cookie is just eaten.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );