## Number of rectangles in a circle of radius R

Given a circular sheet of radius R and the task is to find the total number of rectangles with integral length and width that can… Read More »

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

## Find the other-end coordinates of diameter in a circle

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 »

## Maximize a value for a semicircle of given radius

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 »

## Maximum points of intersection n circles

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 equation of a circle as string, find area

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 »

## Lucky alive person in a circle | Code Solution to sword puzzle

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 »

## Check if a given circle lies completely inside the ring formed by two concentric circles

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 »

## Program to print circle pattern

Given a positive integer n i.e, radius of the circle, print a circle using stars. Examples : Input : n = 3 Output : ***… Read More »

## Area of a Circumscribed Circle of a Square

Given the side of a square then find the area of a Circumscribed circle around it. Examples: Input : a = 6 Output : Area… Read More »

## Path in a Rectangle with Circles

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 »

## Area of square Circumscribed by Circle

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 »

## Draw circle in C graphics

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 »

## Count ways to divide circle using N non-intersecting chords

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 »

## Find the center of the circle using endpoints of diameter

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 »