- Related Questions & Answers
- Area of Circumcircle of a Right Angled Triangle in C Program?
- Area of Circumcircle of a Right Angled Triangle?
- Program to calculate the Area and Perimeter of Incircle of an Equilateral Triangle What is Equilateral Triangle in C?
- C++ program to find the Radius of the incircle of the triangle
- Area of Reuleaux Triangle?
- Area of a triangle inside a parallelogram in C++
- Java program to find the area of a triangle
- C++ Program to Compute the Area of a Triangle Using Determinants
- Program to calculate area of Circumcircle of an Equilateral Triangle in C++
- Program to calculate area and perimeter of equilateral triangle in C++
- Program to calculate area of Circumcircle of an Equilateral Triangle
- Program to calculate area and perimeter of equilateral triangle
- Area of circle which is inscribed in equilateral triangle in C Program?
- Area of largest triangle that can be inscribed within a rectangle in C Program?
- C++ program to find the Area of the Largest Triangle inscribed in a Hexagon?

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

To find the area of a circle inside a right angled triangle, we have the formula to find the radius of the right angled triangle, r = ( P + B – H ) / 2.

Given the P, B and H are the perpendicular, base and hypotenuse respectively of a right angled triangle.

Area of a circle is given by the formula,

Area = π*r^{2}

where π = 22 / 7 or 3.14 and r is the radius of the circle.

Hence the area of the incircle will be given by the formula,

Area = π* ((P + B – H) / 2)^{2}.

#include #define PI 3.14159265 int main() { float area,P = 3, B = 4, H = 5; area=(P + B - H) * (P + B - H) * (PI / 4); printf("Area = %f", area); return 0; }

Area = 3.141593

Advertisements