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:
- Find all possible triangles with XOR of sides zero
- Area of Circumcircle of a Right Angled Triangle
- Count of acute, obtuse and right triangles with given sides
- Program to calculate area of Circumcircle of an Equilateral Triangle
- Find area of parallelogram if vectors of two adjacent sides are given
- Find all sides of a right angled triangle from given hypotenuse and area | Set 1
- Find area of triangle if two vectors of two adjacent sides are given
- Program to find the Circumcircle of any regular polygon
- Calculate Volume, Curved Surface Area and Total Surface Area Of Cylinder
- Find other two sides of a right angle triangle
- Maximize volume of cuboid with given sum of sides
- Check if it is possible to create a polygon with given n sides
- Check whether triangle is valid or not if sides are given
- Check if given four integers (or sides) make rectangle
- Find other two sides and angles of a right angle triangle
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.