- Related Questions & Answers
- Sum triangle from an array in C programming
- Area of a leaf inside a square in C Program?
- C Program for Area of a square inscribed in a circle which is inscribed in a hexagon?
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse?
- Area of decagon inscribed within the circle in C Program?
- Area of largest Circle inscribed in N-sided Regular polygon in C Program?
- Area of Incircle of a Right Angled Triangle in C Program?
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle in C Program?
- Biggest Square that can be inscribed within an Equilateral triangle?
- Biggest Reuleaux Triangle within A Square?
- Biggest Reuleaux Triangle within a Square which is inscribed within a Circle?
- Biggest Reuleaux Triangle within a Square which is inscribed within a Right angle Triangle?
- Biggest Reuleaux Triangle inscribed within a square which is inscribed within an ellipse?
- Biggest Reuleaux Triangle inscribed within a square which is inscribed within a hexagon?
- 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 biggest Reuleax triangle inscribed within a square which is inscribed in a semicircle. Suppose the radius of the semicircle is R, are side of the square is ‘a’ and the height of the Reuleax triangle is h.

We know that the side of the square inscribed in a semicircle is −

The height of the Reuleaux triangle is the same as a. So a = h. So the area of the Reuleaux triangle is −

#include <iostream> #include <cmath> using namespace std; float areaReuleaux(float r) { //radius of the semicircle is r if (r < 0) //if r is negative it is invalid return -1; float area = ((3.1415 - sqrt(3)) * (2*r/(sqrt(5))) * (2*r/(sqrt(5))))/2; return area; } int main() { float rad = 8; cout << "Area of Reuleaux Triangle: " << areaReuleaux(rad); }

Area of Reuleaux Triangle: 36.0819

Advertisements