## Program for Area Of Square after N-th fold

A square is a flat shape, in one plane, defined by four points at the four corners. A square has four sides all of equal… Read More »

## Check whether two straight lines are orthogonal or not

Given two line segments AB and CD having A(x1, y1), B(x2, y2), C(x3, y3) and D(x4, y4). The task is to check whether these two… Read More »

## Biggest Square that can be inscribed within an Equilateral triangle

Given here is an equilateral triangle of side length a. The task is to find the side of the biggest square that can be inscribed… Read More »

## Biggest Reuleaux Triangle within a Square which is inscribed within a Circle

Given here is a circle of radius r, which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

## Largest right circular cylinder that can be inscribed within a cone which is in turn inscribed within a cube

Given here is a cube of side length a, which inscribes a cone which in turn inscribes a right circular cylinder. The task is to… Read More »

## Biggest Reuleaux Triangle within a Square which is inscribed within a Right angle Triangle

Given here is a right angle triangle with height l, base b & hypotenuse h, which inscribes a square which in turn inscribes a reuleaux… Read More »

## Largest square that can be inscribed within a hexagon which is inscribed within an equilateral triangle

Given here is an equilateral triangle of side length a, which inscribes a hexagon which in turn inscribes a square. The task is to find… Read More »

## Check if it is possible to draw a straight line with the given direction cosines

Given three direction cosines l, m and n of a 3-D plane, the task is to check if it is possible to draw a straight… Read More »

## Apothem of a n-sided regular polygon

Given here the side length a of a regular n-sided polygon, the task is to find the length of its Apothem. Apothem is the line… Read More »

## Length of Diagonal of a n-sided regular polygon

Given a n-sided regular polygon of side length a.The task is to find the length of it’s diagonal. Examples: Input: a = 9, n =… Read More »

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

## Area of a n-sided regular polygon with given side length

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 »

## Diagonal of a Regular Decagon

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 »

## Diagonal of a Regular Heptagon

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 »

## Biggest Reuleaux Triangle within A Sqaure

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 »