Given a triangle with known sides a, b and c; the task is to find the area of its circumcircle.
Input: a = 2, b = 2, c = 3 Output: 114.834 Input: a = 4, b = 5, c = 3 Output: 314
For a triangle with side lengths a, b, and c,
Radius of the circumcircle: where A = √(s*(s-a)*(s-b)*(s-c)) and s = (a+b+c)/2 is the semiperimeter. Therefore, Area of the circumcircle:
Below is the implementation of the above approach:
- Number of triangles formed by joining vertices of n-sided polygon with two common sides and no common sides
- Area of Circumcircle of a Right Angled Triangle
- Find all possible triangles with XOR of sides zero
- Program to calculate area of Circumcircle of an Equilateral Triangle
- Count of acute, obtuse and right triangles with given sides
- Find area of parallelogram if vectors of two adjacent sides are given
- Find area of triangle if two vectors of two adjacent sides are given
- Find all sides of a right angled triangle from given hypotenuse and area | Set 1
- Program to find the Circumcircle of any regular polygon
- Calculate Volume, Curved Surface Area and Total Surface Area Of Cylinder
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Maximize volume of cuboid with given sum of sides
- Check whether triangle is valid or not if sides are given
- Find other two sides of a right angle triangle
- Check if it is possible to create a polygon with given n sides
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. 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.