document.write( "Question 1203912: Two machines turn out all the products in a factory, with the first machine producing 57% of the product and the second machine producing the rest. The first machine produces defective products 6% of the time and the second machine 2% of the time. What is the probability that a part made in this factory is not defective? (Enter answer as a decimal with at least 4 correct decimal places)
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #839817 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "A = 1st machine is selected
\n" ); document.write( "B = 2nd machine is selected
\n" ); document.write( "P(A) = 0.57
\n" ); document.write( "P(B) = 1-P(A) = 1-0.57 = 0.43\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "D = part is defective
\n" ); document.write( "~D = part is not defective
\n" ); document.write( "P(D given A) = 0.06
\n" ); document.write( "P(~D given A) = 1-P(D given A) = 1-0.06 = 0.94
\n" ); document.write( "and,
\n" ); document.write( "P(D given B) = 0.02
\n" ); document.write( "P(~D given B) = 1-P(D given B) = 1-0.02 = 0.98\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The four pieces of useful relevant info are
\n" ); document.write( "P(A) = 0.57
\n" ); document.write( "P(B) = 0.43
\n" ); document.write( "P(~D given A) = 0.94
\n" ); document.write( "P(~D given B) = 0.98\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then,
\n" ); document.write( "P(~D) = P(~D and A) + P(~D and B) ........ Law of total probability
\n" ); document.write( "P(~D) = P(~D given A)*P(A) + P(~D given B)*P(B)
\n" ); document.write( "P(~D) = 0.94*0.57 + 0.98*0.43
\n" ); document.write( "P(~D) = 0.9572 which is the final answer.
\n" ); document.write( "There's a 95.72% chance the part is not defective.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "An alternative approach:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's say that 100,000 parts were made.
\n" ); document.write( "Machine A makes 57,000 of those parts (because 57% of 100,000 = 57,000). The remaining 100,000-57,000 = 43,000 parts are from machine B.
\n" ); document.write( "Note how 43% of 100,000 is 43,000.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Machine A messes up 6% of the time.
\n" ); document.write( "6% of 57,000 = 0.06*57000 = 3420
\n" ); document.write( "There are 3420 defective parts made from machine A. The remaining 57,000-3,420 = 53,580 parts are not defective.
\n" ); document.write( "Or we could say: 94% of 57,000 = 0.94*57000 = 53,580.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Machine B messes up 2% of the time.
\n" ); document.write( "2% of 43,000 = 0.02*43000 = 860
\n" ); document.write( "There are 860 defective parts made from machine B. The remaining 43,000-860 = 42,140 parts are not defective.
\n" ); document.write( "Or we could say: 98% of 43,000 = 0.98*43000 = 42,140.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In total, there are 53580+42140 = 95,720 non-defective parts out of 100,000 parts total.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here's a table to summarize everything stated so far in this section.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
DefectiveNot DefectiveTotal
Machine A3,42053,58057,000
Machine B86042,14043,000
Total4,28095,720100,000

\n" ); document.write( "The probability of randomly selecting a non-defective part is (95,720)/(100,000) = 0.9572\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: 0.9572
\n" ); document.write( "
\n" ); document.write( "
\n" );