Step-by-step explanation:
A="The chip is from the manufacturer A"
B="The chip is from the manufacturer B"
C="The chip is from the manufacturer C"
D="The chip is defective"
P(A)=0.5
P(B)=0.1
P(C)=0.4
P(D|A)=0.005
P(D|B)=0.001
P(D|C)=0.01
P(D)=P(D|A)P(A)+P(D|B)P(B)+P(D|C)P(C)=0.005*0.5+0.001*0.1+0.01*0.4
P(D)=6.6x10-3
Based on Bayes rule:
P(A|D)=P(D|A)P(A)/P(D)=0.005*0.5/6.6x10-3=0.38
P(C|D)=P(D|C)P(C)/P(D)=0.01*0.4/6.6x10-3=0.60