document.write( "Question 1166953: Five of 10 new buildings in a city violate the building code. A random sample of three buildings is selected for inspection.
\n" ); document.write( "(a) What is the probability of none of the buildings that violate the building code in a sample of 3 buildings?
\n" ); document.write( "(b) What is the probability of at least one of the new buildings that violate the building code in a sample of 3 buildings?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #791515 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This problem is a TWIN to the problem which I solved 5 minutes ago\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Probability-and-statistics/Probability-and-statistics.faq.question.1166954.html\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Probability-and-statistics/Probability-and-statistics.faq.question.1166954.html\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It is solved by the same way.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So, I will not go to explanations and will write the final formulas and the answer directly\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "(a)  P = \"%285%2F10%29%2A%284%2F9%29%2A%283%2F8%29\" = \"60%2F720\" = \"1%2F12\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "(b)  P = the complement to the value from (a) = \"11%2F12\".\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" );