## Area of a n-sided regular polygon with given Radius

Given a regular polygon of N sides with radius(distance from the center to any vertex) R. The task is to find the area of the… Read More »

- Find K Closest Points to the Origin
- Minimum distance to the corner of a grid from source
- Rectangle with minimum possible difference between the length and the width
- Number of triangles that can be formed with given N points
- Check whether the point (x, y) lies on a given line
- Largest Square that can be inscribed within a hexagon
- Find a point that lies inside exactly K given squares
- Number of squares of side length required to cover an N*M rectangle
- Count paths with distance equal to Manhattan distance
- Program for Area Of Square after N-th fold
- Determine the numer of squares that line will pass through
- Number of steps required to reach point (x,y) from (0,0) using zig-zag way
- Maximum area of rectangle possible with given perimeter
- Maximum points of intersection n lines
- Minimum cuts required to divide the Circle into equal parts
- Geometric Median
- Program to find the Circumcircle of any regular polygon
- Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
- Find whether only two parallel lines contain all coordinates points or not
- Program to find the angles of a quadrilateral
- Apothem of a n-sided regular polygon
- Find the cordinates of the fourth vertex of a rectangle with given 3 vertices
- Largest right circular cylinder within a cube
- Find maximum volume of a cuboid from the given perimeter and area
- Convex Hull | Monotone chain algorithm
- Minimum Cuts can be made in the Chessboard such that it is not divided into 2 parts
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle
- Find Tangent at a given point on the curve
- Find the area of largest circle inscribed in ellipse
- Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle

Given a regular polygon of N sides with radius(distance from the center to any vertex) R. The task is to find the area of the… Read More »

Given a regular polygon of N sides with side length a. The task is to find the area of the polygon. Examples: Input : N… Read More »

Given an integer a which is the side of a regular decagon, the task is to find and print the length of its diagonal. Examples:… Read More »

Given an integer a which is the side of a regular heptagon, the task is to find and print the length of its diagonal. Examples:… Read More »

Given an integer a which is the side of a square, the task is to find the biggest Reuleaux Triangle that can be inscribed within… Read More »

Given side of a square a, the task is to find the side of the largest hexagon that can be inscribed within the given square.… Read More »

Given an equilateral triangle of side length a, the task is to find the largest hexagon that can be inscribed within it. Examples: Input: a… Read More »

Given an integer a which is the side of a regular hexagon, the task is to find and print the length of its diagonal. Examples:… Read More »

Given an integer a which is the side of a regular pentagon, the task is to find and print the length of its diagonal. Examples:… Read More »

Given an integer h which is the side of an equilateral triangle formed by the same vertices as the Reuleaux triangle, the task is to… Read More »

Given two integers r and n where n is the number of sides of a regular polygon and r is the radius of the circle… Read More »

Given a regular hexagonof side length a, the task is to find the area of the largest square that can be inscribed within it. Examples:… Read More »

Given here is a regular hexagon, of side length a, the task is to find the area of the biggest triangle that can be inscribed… Read More »

Given the length of space diagonal of a cube as d. The task is to calculate the volume occupied by the cube with the given… Read More »

You are given the length of the diagonal of a hexagon, d. Your task is to find the area of that hexagon. Examples: Input :… Read More »