- Related Questions & Answers
- Area of hexagon with given diagonal length in C Program?
- C Program for area of hexagon with given diagonal length?
- Area of a square from diagonal length in C++
- Area of a n-sided regular polygon with given side length in C++
- Area of the Largest Triangle inscribed in a Hexagon in C++
- C++ program to find the Area of the Largest Triangle inscribed in a Hexagon?
- Area of a circle inscribed in a regular hexagon?
- Area of a n-sided regular polygon with given Radius in C Program?
- Program to convert given Matrix to a Diagonal Matrix in C++
- Maximum area of rectangle possible with given perimeter in C++
- Area of a square inscribed in a circle which is inscribed in a hexagon in C Program?
- C Program for Area of a square inscribed in a circle which is inscribed in a hexagon?
- C++ program to find the Area of the circumcircle of any triangles with sides given?
- Area of the circumcircle of any triangles with sides given in C++
- Find minimum area of rectangle with given set of coordinates in C++

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

A Hexagon is a closed figure of 6 side and a regular hexagon is the one which has all six sides equal and angle equal. For finding the area of hexagon, we are given only the length of its diagonal i.e d.

The interior angles of Hexagon are of 120 degrees each and the sum of all angles of a Hexagon is 720 degrees.

The formula to find the area of hexagon with side length a,

Area = (3a^{2}√3) / 2.

Since all sides are of same size and angle is 120 degrees,

d = 2a or a = d/2

By putting the value of a in the form of d we get area in terms of d,

2 √3 ) / 8

#include <stdio.h> #include<math.h> int main() { float d = 10; float area = (3 * sqrt(3) * pow(d, 2)) / 8; printf("Area of hexagon = %f",area); return 0; }

Area of hexagon = 64.951904

Advertisements