A shop buys laptops from two suppliers. Supplier A provides 70% of all laptops. Of...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
P(D|A)P(A) = 0.02 \times 0.7 = 0.014
P(D|B)P(B) = 0.06 \times 0.3 = 0.018
P(B|D) = \frac{0.018}{0.014 + 0.018} = \frac{0.018}{0.032} = 0.5625
Using Bayes' Theorem, $P(B|D) = \frac{P(D|B)P(B)}{P(D|A)P(A) + P(D|B)P(B)} = \frac{0.06 \times 0.30}{0.02 \times 0.70 + 0.06 \times 0.30} = \frac{0.018}{0.014 + 0.018} = \frac{0.018}{0.032} = 0.5625$.