document.write( "Question 1035130: a lighting company obtains 80% of their light bulbs from company A that has a defect rate of 0.05 and the rest from company B with a defect rate of 0.10. If a light bulb is defective what is the probability it came from company A? \n" ); document.write( "
Algebra.Com's Answer #649904 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
p(A) = 0.80, p(B) = 0.20, p(D|A) = 0.05, p(non-D|A) = 0.95\r
\n" ); document.write( "\n" ); document.write( "and p(D|B) = 0.10, p(non-D|B) = 0.90\r
\n" ); document.write( "\n" ); document.write( "==> p(A|D) = P(A and D)/p(D) = (p(D|A)*p(A))/p(D) = \"%280.05%2A0.80%29%2F%280.05%2A0.80+%2B+0.20%2A0.10%29+=+2%2F3\"
\n" ); document.write( "
\n" );