document.write( "Question 1179137: B. In a Statistics class, there are 28 juniors and 12 seniors; 18 of the
\n" ); document.write( "juniors are males and 5 of the seniors are females. If a student is
\n" ); document.write( "selected at random, find the probability of selecting the following:\r
\n" ); document.write( "\n" ); document.write( "1. A junior
\n" ); document.write( "2. A male
\n" ); document.write( "3. A junior or a female​
\n" ); document.write( "

Algebra.Com's Answer #808627 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
make a table as shown below.\\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
]\r\n" );
document.write( "                    junior           senior          total\r\n" );
document.write( "\r\n" );
document.write( "male                  18               7               25\r\n" );
document.write( "female                10               5               15\r\n" );
document.write( "\r\n" );
document.write( "total                 28              12               40\r\n" );
document.write( "\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "there are 28 juniors out of a total of 40 so the probability of a student, selected at random, of being a junior is 28/40.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "there are 25 males out of a total of 40 so the probability of a student, selected at random, of being a male is 25/40.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "there are 28 juniors out of a total of 40, so the probability of a student, selected at random, of being a junior is 28/40.
\n" ); document.write( "there are 15 females out of a total of 40, so the probability of a student, selected at random, of being a female is 15/40.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the total is 28 + 15 = 43 out of 40, but .....
\n" ); document.write( "10 of those are both a female and a junior.
\n" ); document.write( "as such, they are being double counted, 10 as a junior and 10 as a female.
\n" ); document.write( "to avoid the double counting, you have to subtract 10 from the total to get a total of 28 + 15 - 10 = 33 that are either a junior or a female.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formulas take care of this.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "let a = the probability of being a junior.
\n" ); document.write( "let b = the probability of being a female.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula states that p(a or b) = p(a) + p(b) - p(a and b)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that becomes 28/40 + 15/40 - 10/40 = (28 + 15 - 10) / 40 = 33/40.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );