document.write( "Question 942689: Question 1: (4 points)
\n" ); document.write( "From historical data, the management of Dinny's Restaurant knows that the probability of a customer ordering a hamburger is 0.27, the probability of a customer ordering a coffee is 0.42, and probability of a customer ordering a hamburger as well as a coffee is 0.22.
\n" ); document.write( "Give all answers as decimals to 4 decimal places.\r
\n" ); document.write( "\n" ); document.write( "(a) What is the probability that customer will order a hamburger, a cup of coffee or both? \r
\n" ); document.write( "\n" ); document.write( " Solution: \r
\n" ); document.write( "\n" ); document.write( "(b) What is the probability that customer who orders a hamburger will also order a cup of coffee?
\n" ); document.write( "Solution:
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "(c) What is the probability that customer who orders a cup of coffee will also order a hamburger?
\n" ); document.write( "Solution: \r
\n" ); document.write( "\n" ); document.write( "(d) What is the probability that a customer orders neither a burger nor a coffee?
\n" ); document.write( "Solution:
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #574865 by mathmate(429)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Given:
\n" ); document.write( "In a restaurant, probability of a customer
\n" ); document.write( "- ordering a hamburger, P(H) = 0.27
\n" ); document.write( "- ordering a coffee, P(C) = 0.42
\n" ); document.write( "- ordering a hamburger with a coffee, P(H∩C) = 0.22
\n" ); document.write( "
\n" ); document.write( "Find:
\n" ); document.write( "(a) P(H∪C), i.e. a hamburger, a coffee or both
\n" ); document.write( "(b) P(C|H), i.e. orders a coffee given she orders a hamburger
\n" ); document.write( "(c) P(H|C), i.e. orders a hamburger given she orders a coffee
\n" ); document.write( "(d) P(~H∩~C), i.e. orders neither a hamburger nor a coffee.
\n" ); document.write( "
\n" ); document.write( "Solution:
\n" ); document.write( "(a)Given P(H)=0.27, P(H∩C)=0.22, and P(C)=0.42, we calculate P(H∪C) using the relationship
\n" ); document.write( "P(H∪C) = P(H)+P(C)-P(H∩C) = \"0.27+%2B+0.42+-+0.22+=+0.47\"
\n" ); document.write( "(b)The required probability is a conditional probability, i.e.
\n" ); document.write( "P(C|H) = P(C∩H)/P(H) = \"0.22%2F0.27+=+22%2F27\"
\n" ); document.write( "(c) Again, it is a conditional probability, namely
\n" ); document.write( "P(H|C) = P(H∩C)/P(C) = \"0.22%2F0.42+=+11%2F21\"
\n" ); document.write( "(d) P(~H∩~C) = 1-P(H∪C) = 1-0.47 = 0.53
\n" ); document.write( "
\n" ); document.write( "Answer:
\n" ); document.write( "(a) probability of ordering a hamburger, a coffee or both is 0.47
\n" ); document.write( "(b) probability of ordering a coffee given she orders a hamburger is 22/27
\n" ); document.write( "(c) probability of ordering a hamburger given she orders a coffee is 11/21
\n" ); document.write( "(d) probability of ordering neither a hamburger nor a coffee is 0.53\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );