The probability that a defective component came from shipment II is:
[tex]0.7143\ or\ 71.43\%[/tex]
Let A denote the event that the defective component was from shipment I
Also, P(A)=2%=0.02
and B denote the event that the defective component was from shipment II.
i.e. P(B)=5%=0.05
Also, P(shipment I is chosen)=1/2=0.5
and P(shipment II is chosen)=1/2=0.5
The probability that a defective component came from shipment II is calculated by Baye's rule as follows:
[tex]=\dfrac{\dfrac{1}{2}\times 0.05}{\dfrac{1}{2}\times 0.02+\dfrac{1}{2}\times 0.05}}\\\\\\=\dfrac{0.05}{0.07}\\\\=\dfrac{5}{7}\\\\=0.7143\ or\ 71.43\%[/tex]
Hence, the answer is:
[tex]0.7143\ or\ 71.43\%[/tex]