Consider the problem
Let
A: bolt manufactured from machine A
B:bolt manufactured from machine B
C:bolt manufactured from machine C
D: bolt is defective
WE need find the probability that the bolt is manufactured by machine AorC and machine B, if it is defective.
That is P(BD)
So, P(BD)=P(B).P⎛⎝DB⎞⎠P(A).P⎛⎝DA⎞⎠+P(B).P⎛⎝DB⎞⎠+P(C).P⎛⎝DC⎞⎠
P(A)= probability that the bolt is made by machine A
=25%=25100=0.25
P(B)= probability that the bolt is made by machine B
=35%=35100=0.35
P(C)= probability that the bolt is made by machine C
=40%=40100=0.40
P(AorC)= probability that the bolt is made by machine AorC
=65%=65100=0.65
And,
P(DA)= probability of a defective bolt from machine A
=5%=5100=0.05
P(DB)= probability of a defective bolt from machine B
=4%=4100=0.04
P(DC)= probability of a defective bolt from machine C
=2%=2100=0.02
P(DAorC)= probability of a defective bolt from machine AorC
=0.07
Now apply Bayes' Theorem
P(BD)=0.35×0.040.25×0.05+0.35×0.04+0.04×0.02=0.0140.0125+0.014+0.008=0.0140.0345=140345=2869
Therefore, required probability by the machine B is 2869
And Machine AorC is
Apply Bayes' Theorem
P(AorCD)=0.65×0.070.65×0.07+0.35×0.04=1317