Question 549565: what is the formula for finding the number of diagonals in a shape e.g. triangle has 0 diagonals, quadrilateral has 2 diagonals, pentagon has 5 diagonals, hexagon has 9 diagonals, and so on.
Answer by stanbon(75887) (Show Source):
You can put this solution on YOUR website! what is the formula for finding the number of diagonals in a shape e.g. triangle has 0 diagonals, quadrilateral has 2 diagonals, pentagon has 5 diagonals, hexagon has 9 diagonals, and so on.
-------
An n-gon has n vertices.
Each pair of vertices determins a line: nC2 = [n(n-1)]/2] lines
-----------
n of those lines are sides of the n-gon
----------------
So, # of diagonals = nC2 - n
----------------------------------
triangle: # = 3C2-n = 3-3 = 0
----------
quadrilater: # = 4C2 - 4 = 6-4 = 2
----------
pentagon: # = 5C2 - 5 = 10-5 = 5
----
etc.
===============
Cheers,
Stan H.
|
|
|