document.write( "Question 1147242: A poll of 500 people determines that 382 like ice cream and 362 like cake. How many
\n" ); document.write( "people like both if each of them likes at least one of the two?
\n" ); document.write( "

Algebra.Com's Answer #768553 by ikleyn(52879)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "As the first approximation, add the two numbers 382 and 362:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    382 + 362 = 744.    (1)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "But doing so, you count twice those people of 500, who like both products.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Therefore, your sum exceeds 500, although it should be equal 500, in reality.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "This exceeding amount over 500 is exactly the number of those who like both products\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    382 + 362 - 500 = 244.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is your answer: 244 people like both products.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "-----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To see many other similar solved problems, look into the lesson\r
\n" ); document.write( "\n" ); document.write( "    - 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" );