Give a rectangle with length l & breadth b, which inscribes a rhombus, which in turn inscribes a circle. The task is to find the radius of this circle.
Input: l = 5, b = 3 Output: 1.28624 Input: l = 6, b = 4 Output: 1.6641
Approach: From the figure, it is clear that diagonals, x & y, are equal to the length and breadth of the rectangle.
Also radius of the circle, r, inside a rhombus is = xy/2√(x^2+y^2).
So, radius of the circle in terms of l & b is = lb/2√(l^2+b^2).
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 biggest possible rhombus that can be inscribed in a rectangle
- Radii of the three tangent circles of equal radius which are inscribed within a circle of given radius
- Largest ellipse that can be inscribed within a rectangle which in turn is inscribed within a semicircle
- The biggest possible circle that can be inscribed in a rectangle
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle
- Largest right circular cylinder that can be inscribed within a cone which is in turn inscribed within a cube
- Largest sphere that can be inscribed within a cube which is in turn inscribed within a right circular cone
- Biggest Reuleaux Triangle inscribed within a square which is inscribed within an ellipse
- Biggest Reuleaux Triangle inscribed within a square which is inscribed within a hexagon
- Biggest Reuleaux Triangle within a Square which is inscribed within a Circle
- Area of circle inscribed within rhombus
- Area of the biggest ellipse inscribed within a rectangle
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle
- Radius of the inscribed circle within three tangent circles
- Area of Equilateral triangle inscribed in a Circle of radius R
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle
- Area of a square inscribed in a circle which is inscribed in a hexagon
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Ratio of area of a rectangle with the rectangle inscribed in it
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.