## How to discretize an Ellipse or Circle to a Polygon using C++ Graphics?

In this article, we’ll see how to discretize an Ellipse (or a circle) into a polygon. Since a circle is just a specific case of… Read More »

## Angle subtended by an arc at the centre of a circle

Given the angle subtended by an arc at the circle circumference X, the task is to find the angle subtended by an arc at the… Read More »

## Find area of the larger circle when radius of the smaller circle and difference in the area is given

Given two integers r and d where r is the radius of the smaller circle and d is the difference of the area of this… Read More »

## Program to calculate area of inner circle which passes through center of outer circle and touches its circumference

Given a circle C1 and it’s a radius r1. And one another circle C2 whose passes through center of circle C1 and touch the circumference… Read More »

## Check if a circle lies inside another circle or not

Given two circles with radii and centres given. The task is to check whether the smaller circle lies inside the bigger circle or not. Examples:… Read More »

## Number of common tangents between two circles if their centers and radius is given

Given two circles with a given radius and centres. The task is to find the number of common tangents between these circles. Examples: Input: x1… Read More »

## Ratio of the distance between the centers of the circles and the point of intersection of two transverse common tangents to the circles

Given two circles, of given radii, such that the circles don’t touch each other. The task is to find the ratio of the distance between… Read More »

## Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles

Given two circles of given radii, such that the circles don’t touch each other, the task is to find the ratio of the distance between… Read More »

## Length of the transverse common tangent between the two non intersecting circles

Given two circles of given radii, having there centres a given distance apart, such that the circles don’t touch each other. The task is to… Read More »

## Length of direct common tangent between two intersecting Circles

Given two circles, of given radii, have there centres a given distance apart, such that the circles intersect each other at two points. The task… Read More »

## Shortest distance between a point and a circle

Given a circle with a given radius has its centre at a particular position in the coordinate plane. In the coordinate plane, another point is… Read More »

## Length of direct common tangent between the two non-intersecting Circles

Given two circles, of given radii, have there centres a given distance apart, such that the circles don’t touch each other. The task is to… Read More »

## Length of the chord of the circle whose radius and the angle subtended at the center by the chord is given

Given a circle whose radius and the angle subtended at the centre by its chord is given. The task is to find the length of… Read More »

## Find the Diameter or Longest chord of a Circle

Given a circle with radius ‘r’ is given, the task is to find the diameter or longest chord of the circle. Examples: Input: r =… Read More »

## Find the area of the shaded region formed by the intersection of four semicircles in a square

Given the length of the side of a square a, the task is to find the area of the shaded region formed by the intersection… Read More »