## 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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »