document.write( "Question 1192034: Find the total number of diagonals for a polygon of n sides for the following values of n.
\n" ); document.write( "(a)
\n" ); document.write( "n = 7
\n" ); document.write( "

Algebra.Com's Answer #823928 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Consider a polygon with n sides.
\n" ); document.write( "This means we have n vertices.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Each of the n vertices connects to n-3 diagonals
\n" ); document.write( "The -3 is to exclude the two surrounding neighbors (which don't form diagonals but rather exterior sides), and the vertex itself.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are n(n-3)/2 total diagonals.
\n" ); document.write( "The dividing by 2 aspect is to avoid double-counting
\n" ); document.write( "Eg: diagonal AC is the same as diagonal CA.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plug in n = 7 to find that,
\n" ); document.write( "n(n-3)/2 = 7*(7-3)/2 = 7*4/2 = 28/2 = 14\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: 14 diagonals in a heptagon.
\n" ); document.write( "
\n" ); document.write( "
\n" );