document.write( "Question 41948: If every person in our class shakes hands with every other perison in the class exactly once\r
\n" ); document.write( "\n" ); document.write( "(a) How many handshakes will have taken place if there are 22 studemts in the class
\n" ); document.write( "(b) If there were 35 students in the class, how many handshakes would there be?
\n" ); document.write( "(c) What if there were n people?
\n" ); document.write( "

Algebra.Com's Answer #27110 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
We can see the pattern by looking at how many handshakes each person makes...
\n" ); document.write( "The first person can shake 21 hands, the second person can shake 20 hands, since they already shook hands with person #1, the 3rd person does 19, the 4th 18, and so on...
\n" ); document.write( "The sum of these 21 numbers is n(n+1) / 2 = 21(22) / 2 = 231.
\n" ); document.write( "In terms of the 22 people, it becomes (n-1)n / 2, and that is the general expression you need in part c...
\n" ); document.write( "Part b) Given there are 35 people, the number of shakes is 34(35) / = 17(35) = 595 handshakes...
\n" ); document.write( "
\n" );