Let "M" be an event 'Mohsin bakes the cake', "K" be an event 'Khurram bakes the cake', and "S" be an event 'Shahid bakes the cake'. Given
Let "A" be an event 'cake fails to rise'. Given
By Bayes' Theorem
"P(K|A)="
"=\\dfrac{P(K)P(A|K)}{P(M)P(A|M+P(K)P(A|K)+P(S)P(A|S)}"
"P(K|A)=\\dfrac{0.25(0.02)}{0.55(0.03)+0.25(0.02)+0.20(0.05)}="
"=\\dfrac{10}{63}\\approx0.1587"
If a cake is selected and fails to rise then the probability that it was backed by cook Khurram is "\\dfrac{10}{63}\\approx0.1587."
Comments
Leave a comment