document.write( "Question 1168486: Factories A, B and C produce computers. Factory A produces 3 times as many computers as factory C, and factory B produces 5 times as many computers as factory C. The probability that a computer produced by factory A is defective is 0.033, the probability that a computer produced by factory B is defective is 0.03, and the probability that a computer produced by factory C is defective is 0.035.\r
\n" ); document.write( "\n" ); document.write( "A computer is selected at random and it is found to be defective. What is the probability it came from factory A?
\n" ); document.write( "

Algebra.Com's Answer #793101 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Factories A, B and C produce computers. Factory A produces 3 times as many computers as factory C,
\n" ); document.write( "and factory B produces 5 times as many computers as factory C. The probability that a computer produced by factory A
\n" ); document.write( "is defective is 0.033, the probability that a computer produced by factory B is defective is 0.03,
\n" ); document.write( "and the probability that a computer produced by factory C is defective is 0.035.
\n" ); document.write( "A computer is selected at random and it is found to be defective. What is the probability it came from factory A?
\n" ); document.write( "~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x = # of computers produced by factory C.\r\n" );
document.write( "\r\n" );
document.write( "Then factory A produces 3x computers, while factory B produces 5x computers.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In total, the amount of all produced computers is  Total = x + 3x + 5x = 9x.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The amount of defective computers produced by A is 0.033(3x);  by factory B is 0.03*(5x), and by factory C is 0.035x.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The total amount of defective computers produced by A, B and C together is  Total_defective = 0.033*(3x) + 0.03(5x) + 0.035x.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The problem's question is about the CONDITIONAL probability  P(comp is from A | comp is defective).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "By the definition of the conditional probability,\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    P(comp is from A | comp is defective) = \"P%28comp_is_from_A_AND_is_defective%29%2FP%28comp_is_defective%29\".     (!)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The probability that the computer if from A and is defective is  \"%280.033%2A3x%29%2FTotal\" = \"0.099x%2F%289x%29\" = 0.011.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The probability that the computer is defective is  \r\n" );
document.write( "\r\n" );
document.write( "    \"Total_defective%2FTotal\" = \"%280.033%2A%283x%29+%2B+0.03%285x%29+%2B+0.035x%29%2F%289x%29\" = \"%280.033%2A3+%2B+0.03%2A5+%2B+0.035%29%2F9\" = 0.031556.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "THEREFORE, the conditional probability (1) under the problem's question is\r\n" );
document.write( "\r\n" );
document.write( "    P(comp is from A | comp is defective) = \"P%28comp_is_from_A_AND_is_defective%29%2FP%28comp_is_defective%29\" = \"0.011%2F0.031556\" = 0.348587.    ANSWER\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I presented the solution for you in the most detailed way.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "When a person gains some experience, he (or she) can do such calculations in a couple of lines.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );