document.write( "Question 394742: A computer program is tested by 3 independent tests. When there is an error, these
\n" );
document.write( "tests will discover it with probabilities 0.2, 0.3, and 0.5, respectively. Suppose that the program
\n" );
document.write( "contains an error. What is the probability that it will be found by at least one test? \n" );
document.write( "
Algebra.Com's Answer #280094 by jrfrunner(365)![]() ![]() You can put this solution on YOUR website! let A =error found by test 1 \n" ); document.write( "let B=error found by test 2 \n" ); document.write( "let C=error found by test 3 \n" ); document.write( "- \n" ); document.write( "Given P(A)=0.2, P(B)=0.3, P(C)=0.5 \n" ); document.write( "therefore P(notA)=0.8, P(notB)=0.7, P(notC)=0.5 \n" ); document.write( "- \n" ); document.write( "Note: tests are independent P(notA & notB & notC)=P(notA)*P(notB)*P(notC)=0.8*0.7*0.5=0.28 \n" ); document.write( "-- \n" ); document.write( "P(found by at least one test)= 1- P(not found by any test)=1-P(notA & notB & notC)=1-0.28=0.82\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |