document.write( "Question 1194015: A certain virus infects one in 400 people. A test used to detect the virus in a person is positive 90% of the time if the person has the virus and 8% of the time if the person does not have the virus. Let A be the event the person is infected and B be the event the person tests positive.
\n" ); document.write( "Find the probability that a person has the virus given that they have tested positive (find P(A/B). Round your answer to the nearest tenth of a percent and do not include a percent sign
\n" ); document.write( "

Algebra.Com's Answer #826099 by ikleyn(52786)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "A certain virus infects one in 400 people. A test used to detect the virus in a person is positive
\n" ); document.write( "90% of the time if the person has the virus and 8% of the time if the person does not have the virus.
\n" ); document.write( "Let A be the event the person is infected and B be the event the person tests positive.
\n" ); document.write( "Find the probability that a person has the virus given that they have tested positive (find P(A/B).
\n" ); document.write( "Round your answer to the nearest tenth of a percent and do not include a percent sign
\n" ); document.write( "~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let the entire population will be 40000 persons.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then 1/400 are infected, i.e.  \"%281%2F400%29%2A40000\" = 100 persons.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Of these 100 persons, 90% are test positive, i.e. 90 persons.\r\n" );
document.write( "\r\n" );
document.write( "These 90 are infected and test positive, at the same time; so, these 90 are the intersection of events A and B;\r\n" );
document.write( "\r\n" );
document.write( "therefore, the numerator of the fraction in the formula for the conditional probability is 90.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Next, among the rest  40000-100 = 39900 healthy persons,  8%,  or 0.08*39900 = 3192 are test positive.\r\n" );
document.write( "\r\n" );
document.write( "    So, the total test positive is  90 + 3192 = 3282 persons.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus, event B has 3292 persons: this number is the denominator of the fraction for the conditional probability.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "After these explanations, the conditional probability P(A|B) is\r\n" );
document.write( "\r\n" );
document.write( "    P(A|B) = \"P%28A_and_B%29%2FP%28B%29\" = \"90%2F3282%29\" = 0.027422 = 0.027 (rounded) = 2.7 %.    ANSWER\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );