Write the number of diagonals of an n-sided polygon.
Polygon has n sides and diagonals are kinds made by joining two opposite points = Number of total lines in polygon - Number of sides in the polygon.
Number of diagonals =nC2−n
=n(n−1)2−n=n[n−12−1]=n[n−1−22]
Number of diagonals =n(n−3)2