Finding Quadrant of a Coordinate with respect to a Circle
Given the radius and coordinates of the centre of a circle. Find the quadrant in which another given coordinate (X, Y) lies with respect to… Read More »
Given the radius and coordinates of the centre of a circle. Find the quadrant in which another given coordinate (X, Y) lies with respect to… Read More »
Given Center coordinate (c1, c2) and one coordinate (x1, y1) of the diameter of a circle, find the other end coordinate point (x2, y2) of… Read More »
We are given a semi circle with radius R. We can take any point on the circumference let it be P.Now, from that point P… Read More »
Given a number n, we need to find the maximum number of times n circles intersect. Examples: Input : n = 2 Output : 2… Read More »
Given an equation of the circle X2 + Y2 = R2 whose center at origin (0, 0) and the radius is R. The task is… Read More »
Given n people standing in a circle where 1st is having sword, find the luckiest person in the circle, if from 1st soldier who is… Read More »
Given two circles of radius r and R, both have their centre at the origin. Now, given another circle of radius r1 and centre at… Read More »
Given a positive integer n i.e, radius of the circle, print a circle using stars. Examples : Input : n = 3 Output : ***… Read More »
Given the side of a square then find the area of a Circumscribed circle around it. Examples: Input : a = 6 Output : Area… Read More »
There is a m*n rectangular matrix whose top-left(start) location is (1, 1) and bottom-right(end) location is (m*n). There are k circles each with radius r.… Read More »
Given the radius(r) of circle then find the area of square which is Circumscribed by circle. Examples: Input : r = 3 Output :Area of… Read More »
The header file graphics.h contains circle() function which draws a circle with center at (x, y) and given radius. Syntax : circle(x, y, radius); where,… Read More »
Given a number N, find the number of ways you can draw N chords in a circle with 2*N points such that no 2 chords… Read More »
Given two endpoint of diameter of a circle (x1, y1) and (x2, y2) find out the center of a circle. Examples : Input : x1… Read More »
Given a division of circle into n pieces as an array of size n. The i-th element of the array denotes the angle of one… Read More »