## Largest cube that can be inscribed within the sphere

Given here is a sphere of radius r, the task is to find the side of the largest cube that can fit inside in it.… Read More »

## Largest sphere that can be inscribed inside a cube

Given here is a cube of side length a, the task is to find the biggest sphere that can be inscribed within it. Examples: Input:… Read More »

## Minimum Cuts can be made in the Chessboard such that it is not divided into 2 parts

Given M x N Chessboard. The task is to determine the Maximum numbers of cuts that we can make in the Chessboard such that the… Read More »

## Find maximum volume of a cuboid from the given perimeter and area

Given a perimeter P and area A, the task is to calculate the maximum volume that can be made in form of cuboid from the… Read More »

## Program to calculate area and perimeter of a rhombus whose diagonals are given

Given the length of diagonals of a rhombus, d1 and d2. The task is to find the perimeter and the area of that rhombus. A… Read More »

## Area of decagon inscribed within the circle

Given here is a regular decagon, inscribed within a circle of radius r, the task is to find the area of the decagon. Examples: Input:… Read More »

## Equation of ellipse from its focus, directrix, and eccentricity

Given focus(x, y), directrix(ax + by + c) and eccentricity e of an ellipse, the task is to find the equation of ellipse using its… Read More »

## Maximum area of rectangle possible with given perimeter

Given the perimeter of a rectangle, the task is to find the maximum area of a rectangle which can use n-unit length as its perimeter.… Read More »

## Find middle point segment from given segment lengths

Given an array arr[] of size M. The array represents segment lengths of different sizes. These segments divide a line beginning with 0. The value… Read More »

## Maximum points of intersection n lines

You are given n straight lines. You have to find maximum number of point of intersection with these n lines. Examples: Input : n =… Read More »

## Find the foot of perpendicular of a point in a 3 D plane

Given a point (x1, y1, z1) in 3-D and coefficients of the equation of plane, we have to find the foot of perpendicular of a… Read More »

## Equation of parabola from its focus and directrix

We are given focus(x, y) and directrix(ax + by + c) of a parabola and we have to find the equation of parabola using its… Read More »

## Minimum squares to evenly cut a rectangle

Given a rectangular sheet of length l and width w. we need to divide this sheet in the square sheets such that the number of… Read More »

## Equation of circle from centre and radius

Given the centre of circle (x1, y1) and its radius r, find the equation of the circle having centre (x1, y1) and having radius r.… Read More »

## Section formula for 3 D

Given two coordinates (x1, y1, z1) and (x2, y2, z2) in 3D, and m and n, find the co-ordinates that divides the line joining (x1,… Read More »