Suppose a factory has two machines, Machine A and Machine B, which produce bolts. Machine A produces 60% of the bolts, while Machine B produces the remaining 40%. Machine A has a defect rate of 2%, while Machine B has a defect rate of 5%. A bolt is randomly chosen and is found to be defective. What is the probability that it was produced by Machine A?
0.375
0.398
0.368
0.558
Let A be the event that the bolt is produced by Machine A, and D be the event that the bolt is defective.
Then we need to find P(A | D), the probability that the bolt was produced by Machine A given that it is defective.
We can use Bayes' theorem to calculate this probability:
Where P(D | A) is the probability of the bolt being defective given that it was produced by Machine A, P(A) is the prior probability of a bolt being produced by Machine A, and P(D) is the probability of a bolt being defective.
We can calculate these probabilities as follows:
P(D | A) = 0.02 (Machine A's defect rate)
P(D | B) = 0.05 (Machine B's defect rate)
P(A) = 0.6 (Machine A produces 60% of the bolts)
P(B) = 0.4 (Machine B produces 40% of the bolts)
We can calculate P(D) using the law of total probability:
Substituting the values, we get:
Substituting these values into Bayes' theorem, we get:
Therefore, the probability that the defective bolt was produced by Machine A is 0.375.
Study 40% syllabus and score up to 100% marks in JEE
5 g of Na2SO4 was dissolved in x g of H2O. The change in freezing point was found to be 3.820C. If Na2SO4 is 81.5% ionised, the value of x (K
A capacitor is made of two square plates each of side 'a' making a very small angle
A solution of m-chloroaniline, m-chlorophenol and m-chlorobenzoic acid in ethyl acetate was extracted initially with a saturated solution of NaHCO3 to give fraction A. The leftover organic phase was extracted with d