Given two opposite diagonal points of a rectangle (X1, Y1), (X2, Y2) and the center, radius of the circle R, (Xc, Yc), the task is… Read More
Tag Archives: circle
Prerequisites: Equation of circle when three points on the circle are given, Minimum Enclosing Circle.Given an array arr[][] containing N points in a 2-D plane… Read More
Given an integer R which denotes the radius of a circle, the task is to find the area of an equilateral triangle inscribed in this… Read More
Prerequisites: Equation of circle when three points on the circle are given, Convex HullGiven an array arr[][] containing N points in a 2-D plane with… Read More
Consider a grid of dimensions NxM and an array R consisting of available circular obstacles, the task is to find the minimum number of circular… 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
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
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 centers. 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 their centres a given distance apart, such that the circles intersect each other at two points. The task… Read More