document.write( "Question 1091470: According to a survey, 16 people liked ham, 19 liked eggs, 18 liked mackerel, 8 liked mackerel and eggs, 5 liked ham and eggs, 7 liked ham and mackerel, and 3 liked all three foods. (is it possible to see a Venn diagram of this?)\r
\n" ); document.write( "\n" ); document.write( "- how many liked only mackerel?
\n" ); document.write( "- how many liked at least two of three foods?
\n" ); document.write( "- how many liked only one of three foods?
\n" ); document.write( "- how many liked eggs and mackerel but not ham?
\n" ); document.write( "- how many people were surveyed?\r
\n" ); document.write( "\n" ); document.write( "I'm trying to read up on this more, but as my username suggests, I'm still new and having a bit of a hard time. Thanks in advance!
\n" ); document.write( "

Algebra.Com's Answer #705876 by ikleyn(52835)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "According to a survey, 16 people liked ham, 19 liked eggs, 18 liked mackerel,
\n" ); document.write( "8 liked mackerel and eggs,
\n" ); document.write( "5 liked ham and eggs,
\n" ); document.write( "7 liked ham and mackerel,
\n" ); document.write( "and 3 liked all three foods. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "1)  how many liked only mackerel?                     18 - 8 - 7 + 3.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "2)  how many liked at least two of three foods?        8 + 5 + 7 - 2*3.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "3)  how many liked only one of three foods?           16 + 19 + 18 - 8 - 5 - 7 + 2*3.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "4)  how many liked eggs and mackerel but not ham?     19 + 18 - 8 + 3.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "5)  how many people were surveyed?                    16 + 19 + 18 - 8 - 5 - 7 + 3.\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "First,  I put the numbers only in hope that they will explain everything to you without my words.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "But then I put some minimal explanations to worm your mind.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "1)  how many liked only mackerel ? \r
\n" ); document.write( "\n" ); document.write( "      Take those who like mackerel;  subtract those who like ME;  subtract those who like MH;  add MHE what were subtracted twice.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2)  how many liked at least two of three foods ?
\n" ); document.write( "     ME + HE + HM - 2*HEM = 8 + 5 + 7 - 2*3. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "     (when we add ME + HE + HM, we count the triple intersection thrice; therefore, I subtract HEM twice . . . )\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The same or similar logic works in other cases . . . \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------
\n" ); document.write( "To get familiar with the subject,  look into my lessons\r
\n" ); document.write( "\n" ); document.write( "    - Counting elements in sub-sets of a given finite set\r
\n" ); document.write( "\n" ); document.write( "    - Advanced problems on counting elements in sub-sets of a given finite set\r
\n" ); document.write( "\n" ); document.write( "in this site.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );