document.write( "Question 1017162: In a class of 32 students,a student is allowed to offer government or history or both. If 16 students do government,18 do history and 3 do none of the subjects,find how many do both. \n" ); document.write( "
Algebra.Com's Answer #633496 by ikleyn(52866)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "In a class of 32 students,a student is allowed to offer government or history or both.
\n" ); document.write( "If 16 students do government,18 do history and 3 do none of the subjects,find how many do both.
\n" ); document.write( "----------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let me reformulate the problem in this way:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------------------------------------------
\n" ); document.write( "In a group of 29 (=32-3) students 16 students do government and 18 do history; everybody does something; some of them do both.\r
\n" ); document.write( "\n" ); document.write( "Find how many do both.
\n" ); document.write( "----------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "The answer is: 16 + 18 - 29 = 5.\r\n" );
document.write( "\r\n" );
document.write( "5 students do both.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "For details, see the lesson Counting elements in sub-sets of a given finite set in this site.\r\n" );
document.write( "\r\n" );
document.write( "Read attentively this lesson, and you will learn how to solve this kind of problems, once and for all.\r\n" );
document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );