Given an integer C which is the length of the hypotenuse of a right angled triangle of a circumcircle passing through the centre of the circumcircle. The task is to find the area of the circumcircle.
Input: C = 8
Input: C = 10
Approach: Since the hypotenuse C passes through the center of the circle, the radius of the circle will be C / 2.
And we know that the area of a circle is PI * r2 where PI = 22 / 7 and r is the radius of the circle.
Hence the area of the circumcircle will be PI * (C / 2)2 i.e. PI * C2 / 4.
Below is the implementation of the above approach:
Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: DSA Self Paced. Become industry ready at a student-friendly price.
- Area of Circumcircle of an Equilateral Triangle using Median
- Area of Incircle of a Right Angled Triangle
- Program to calculate area of Circumcircle of an Equilateral Triangle
- Find all sides of a right angled triangle from given hypotenuse and area | Set 1
- Number of possible pairs of Hypotenuse and Area to form right angled triangle
- Find the height of a right-angled triangle whose area is X times its base
- Area of the circumcircle of any triangles with sides given
- Find the dimensions of Right angled triangle
- Check if a right-angled triangle can be formed by moving any one of the coordinates
- Check whether right angled triangle is valid or not for large sides
- Area of Reuleaux Triangle
- Area of a triangle inside a parallelogram
- Check if right triangle possible from given area and hypotenuse
- Area of a Triangle from the given lengths of medians
- Find the coordinates of a triangle whose Area = (S / 2)
- Program to find area of a triangle
- Find the altitude and area of an isosceles triangle
- Area of the Largest Triangle inscribed in a Hexagon
- Minimum height of a triangle with given base and area
- Area of largest triangle that can be inscribed within a rectangle
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : Shivi_Aggarwal