what is the formula for number of diagonals in a polygon?
The number of diagonals in a polygon = n(n-3)/2, where n is the number of polygon sides. For a convex n-sided polygon, there are n vertices, and from each vertex you can draw n-3 diagonals, so the total number of diagonals that can be drawn is n(n-3).