- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Area of the biggest possible rhombus that can be inscribed in a rectangle in C?

A rhombus inscribed in a rectangle touches the sides of the rectangle so by this we can infer that the diagonals of the largest inscribed rhombus are equal to the length and breadth of the rectangle.

If we have the length(l) and breadth(b) of the rectangle, the length of the diagonal of the largest rhombus inscribed inside it is d1 = l and d2 = b.

The area of a rhombus is given by the formula,

Area = (d1*d2)/2

Putting the values of d1 and d2. We get,

Area = (l*b)/2

Using this formula we can create a program that calculates the area of biggest rhombus that can be inscribed in a rectangle,

## Example

#include <stdio.h> int main() { float l = 16, b = 6; float area = (l*b)/2; printf("The area of rhombus inscribed in a rectangle of length %f and breadth %f is %f", l,b,area); return 0; }

## Output

The area of rhombus inscribed in a rectangle of length 15 and breadth 12 is 90.

- Related Questions & Answers
- Area of the biggest possible rhombus that can be inscribed in a rectangle in C Program?
- Area of the largest triangle that can be inscribed within a rectangle?
- Area of Largest rectangle that can be inscribed in an Ellipse?
- Area of largest triangle that can be inscribed within a rectangle in C Program?
- Area of circle inscribed within rhombus?
- Area of circle inscribed within rhombus in C Program?
- Biggest Square that can be inscribed within an Equilateral triangle in C?
- Biggest Square that can be inscribed within an Equilateral triangle?
- Area of the Largest square that can be inscribed in an ellipse in C++
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle in C?
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle?
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse?
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse In C Program?
- Maximum area of rectangle possible with given perimeter in C++
- Biggest Reuleaux Triangle inscribed within a square inscribed in a semicircle in C?

Advertisements