Let
A= the event "bolt is manufactured by machine A",
B= the event "bolt is manufactured by machine B",
C= the event "bolt is manufactured by machine C", and
D= the event "bolt is defective".
Given
P(A)=0.25,P(B)=0.3,P(C)=0.45,
P(D∣A)=0.07,P(D∣B)=0.06,P(D∣C)=0.04
Then by Bayes' Theorem
P(C∣D)=P(D∣A)P(A)+P(D∣B)P(B)+P(D∣C)P(C)P(D∣C)P(C)=
=0.07(0.25)+0.06(0.3)+0.04(0.45)0.04(0.45)=0.05350.018≈
≈0.3364
Comments