Given an ellipse, with major and minor axis length 2a & 2b respectively. The task is to find the area of the largest circle that can be inscribed in it.
Input : a = 5, b = 3 Output : 28.2743 Input : a = 10, b = 8 Output : 201.062
Approach : The maximal radius of the circle inscribed in the ellipse is the minor axis of the ellipse.
So, area of the largest circle = π * b * b.
Below is the implementation of the above approach:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Area of the Largest square that can be inscribed in an ellipse
- Area of Largest rectangle that can be inscribed in an Ellipse
- Area of largest Circle that can be inscribed in a SemiCircle
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse
- Largest ellipse that can be inscribed within a rectangle which in turn is inscribed within a semicircle
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle
- Area of a square inscribed in a circle which is inscribed in a hexagon
- Area of the biggest ellipse inscribed within a rectangle
- Area of the circle that has a square and a circle inscribed in it
- Largest triangle that can be inscribed in an ellipse
- Area of decagon inscribed within the circle
- Area of circle inscribed within rhombus
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Area of circle inscribed in a Isosceles Trapezoid
- Area of a circle inscribed in a regular hexagon
- Area of circle which is inscribed in equilateral triangle
- Program to calculate area of an Circle inscribed in a Square
- Area of Equilateral triangle inscribed in a Circle of radius R
- 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 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.