document.write( "Question 1165446: Mary bakes 8 chocolate chip cookies and 10 peanut butter cookies. Bill bakes 5 chocolate chip cookies and 10 peanut butter cookies. The 33 cookies are put together and offered on a single plate. I pick a cookie at random from the plate.
\n" ); document.write( "(a) What is the probability that the cookie is chocolate chip?
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "(b) What is the probability that Mary baked the cookie?
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "(c) What is the probability that the cookie is chocolate chip given that Mary baked it?
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "(d) Use Bayes's theorem to calculate the probability that the cookie is baked by Mary given that it is chocolate chip. In this situation, Bayes's theorem tells us that
\n" ); document.write( "P(Mary given Chocolate) = P(Chocolate given Mary) × P(Mary)\r
\n" ); document.write( "\n" ); document.write( " P(Chocolate)
\n" ); document.write( "
\n" ); document.write( "(e) Calculate without using Bayes's theorem the probability that the cookie is baked by Mary given that it is chocolate chip. Suggestion: How many of the chocolate chip cookies were baked by Mary?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #789941 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
13 C
\n" ); document.write( "20 PB \r
\n" ); document.write( "\n" ); document.write( "a. 13/33 probability
\n" ); document.write( "b. 18/33 or 6/11
\n" ); document.write( "c. 8/18 or 4/9
\n" ); document.write( "d. P(M|C)=8/13
\n" ); document.write( "=P(C|M)=4/9
\n" ); document.write( "P(M)=6/11
\n" ); document.write( "P(C)=13/33
\n" ); document.write( "4/9*6/11 divided by 13/33
\n" ); document.write( "that is (24/99)divided by 13/33
\n" ); document.write( "or 8/33 divided by 13/33
\n" ); document.write( "which is 8/13, which is what was described above and is what is wanted for e.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );