- Related Questions & Answers
- Area of circle which is inscribed in an equilateral triangle?
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle in C Program?
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle in C Program?
- Area of a square inscribed in a circle which is inscribed in a hexagon in C Program?
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse In C Program?
- C Program for Area of a square inscribed in a circle which is inscribed in a hexagon?
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle?
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle in C?
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse?
- Area of circle inscribed within rhombus in C Program?
- Program to calculate the Area and Perimeter of Incircle of an Equilateral Triangle What is Equilateral Triangle in C?
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle in C?
- Area of decagon inscribed within the circle in C Program?
- Program to calculate area and perimeter of equilateral triangle in C++
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle?

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

Here we will see the area of circle which is inscribed in an equilateral triangle. The sides of the triangle are ‘a’.

The area of equilateral triangle −

The semi-perimeter of the triangle is −

So the radius of the circle is −

#include <iostream> #include <cmath> using namespace std; float area(float a) { if (a < 0 ) //if the value is negative it is invalid return -1; float area = 3.1415 * (a/(2*sqrt(3))) * (a/(2*sqrt(3))); return area; } int main() { float a = 4; cout << "Area is: " << area(a); }

Area is: 4.18867

Advertisements