
- C Programming Tutorial
- C - Home
- C - Overview
- C - Environment Setup
- C - Program Structure
- C - Basic Syntax
- C - Data Types
- C - Variables
- C - Constants
- C - Storage Classes
- C - Operators
- C - Decision Making
- C - Loops
- C - Functions
- C - Scope Rules
- C - Arrays
- C - Pointers
- C - Strings
- C - Structures
- C - Unions
- C - Bit Fields
- C - Typedef
- C - Input & Output
- C - File I/O
- C - Preprocessors
- C - Header Files
- C - Type Casting
- C - Error Handling
- C - Recursion
- C - Variable Arguments
- C - Memory Management
- C - Command Line Arguments
- C Programming useful Resources
- C - Questions & Answers
- C - Quick Guide
- C - Useful Resources
- C - Discussion
Area of circle inscribed within rhombus?
Circle inscribed in a rhombus touches its four side a four ends. The side of rhombus is a tangent to the circle.
Here, r is the radius that is to be found using a and, the diagonals whose values are given.
Now the area of triangle AOB = ½ * OA * OB = ½ * AB * r (both using formula ½*b*h).
½ *a/2*b/2 = ½ *( √ (a2/4 + b2/4))*r
a*b/8 = √ (a2+ b2 )*r /4
r = a*b/ 2√ (a2+ b2 )
Area of circle = π*r*r = π*(a2*b2)/4(a2+ b2 )
Example
The diagonal of the rhombus 5 & 10.
Area is 15.700000
Example Code
#include <stdio.h> int main(void) { int a = 5; int b= 10; float pie = 3.14; float area = (float)((pie*a*a*b*b)/(4*((a*a)+(b*b)))); printf("The area of circle inscribed in the rhombus of diagonal %d and %d is %f",a,b,area); return 0; }
Output
The area of circle inscribed in the rhombus of diagonal 5 and 10 is 15.700000
- Related Articles
- Area of circle inscribed within rhombus in C Program?
- Area of decagon inscribed within the circle in C Program?
- C Program for area of decagon inscribed within the circle?
- Biggest Reuleaux Triangle within a Square which is inscribed within a Circle?
- Area of a circle inscribed in a regular hexagon?
- Biggest Reuleaux Triangle within a Square which is inscribed within a Circle in C?
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle?
- Area of circle which is inscribed in an equilateral triangle?
- Swift Program to Calculate Area of Circle Inscribed in Square
- Area of the largest triangle that can be inscribed within a rectangle?
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle in C?
- Find the area of largest circle inscribed in ellipse in C++
- C Program for Area of a square inscribed in a circle which is inscribed in a hexagon?
- Area of a square inscribed in a circle which is inscribed in a hexagon in C Program?
- Area of the biggest possible rhombus that can be inscribed in a rectangle in C?

Advertisements