
- 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 a circle inscribed in a rectangle which is inscribed in a semicircle?
Let us consider one semicircle is given. Its radius is R. One rectangle of length l and breadth b is inscribed in that semi-circle. Now one circle with radius r is inscribed in the rectangle. We have to find the area of the inner circle.
As we know biggest rectangle that can be inscribed within the semi-circle has length l and breadth b, then the equation of l and b will be like following −
Now, the biggest circle that can be inscribed within the rectangle has radius r is like below −
Example
#include <iostream> #include <cmath> using namespace std; float innerCircleArea(float R){ return 3.1415 * pow(R / (2 * sqrt(2)), 2); } int main() { float rad = 12.0f; cout << "Area: " << innerCircleArea(rad); }
Output
Area: 56.547
- Related Articles
- Area of a circle inscribed in a rectangle which is inscribed in a semicircle in C?
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse?
- Area of a square inscribed in a circle which is inscribed in a hexagon in C Program?
- Area of a triangle inscribed in a rectangle which is inscribed in an ellipse In C Program?
- 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 an equilateral triangle in C Program?
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle in C Program?
- Area of a circle inscribed in a regular hexagon?
- Biggest Reuleaux Triangle inscribed within a square inscribed in a semicircle in C?
- Area of circle which is inscribed in an equilateral triangle?
- Find the Area of a Circle Inscribed in a Square in Java
- Area of circle which is inscribed in equilateral triangle in C Program?
- Area of circle inscribed within rhombus?
- Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle?
- Program to calculate the area of an Circle inscribed in a Square

Advertisements