- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to find the number of diagonals of a polygon?
The number of diagonals in the polygon :
A Diagonal is a line segment that connects the opposite corners of a polygon through its vertex.
Number of Diagonals $= \frac{n(n-3)}{2}$, where n is the number of sides of the polygon.
For example:
Calculate the number of diagonals of a pentagon.
Number of sides of pentagon $= 5$
So, Number of Diagonals $= \frac{n(n-3)}{2}$
$ = \frac{5(5 - 3)}{2}$
$ = \frac{5(2)}{2}$
$ = 5$.
- Related Articles
- Find number of diagonals in n sided convex polygon in C++
- The interior angle of a regular polygon is $156$ . Find the number of sides of the polygon.
- FInd the number of diagonals that can be drawn for a pentagon.
- Each interior angle of a regular polygon is four times the exterior angle. Find the number of sides in the polygon.
- How to find the rotation matrix of a Polygon object using FabricJS?
- How to find the translation matrix of a Polygon object using FabricJS?
- C++ Program to find out the number of sides that a polygon has inside a grid
- Program to find the perimeter of a rhombus using diagonals
- A diagonal is a line segment that joins any two vertices of the polygon and is not a side of the polygon. Draw a rough sketch of a pentagon and draw its diagonals.
- Program to find perimeter of a polygon in Python
- Program to find area of a polygon in Python
- Find the number of sides of a regular polygon if the exterior angle is one-third of its interior angle.
- Solve the following:The sum of interior angles of a polygon is three times the sum of its exterior angles. Determine the number of sides of the polygon.
- The length of each side of a regular polygon is 1.3 cm. The perimeter of polygon is 10.4 cm How many sides does the polygon have?
- How to find square of a number?

Advertisements