## Largest hexagon that can be inscribed within a square

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 »

- Puzzle | Minimum distance for Lizard
- Number of quadrilaterals possible from the given points
- Find a point such that sum of the Manhattan distances is minimized
- Rectangle with minimum possible difference between the length and the width
- Find K Closest Points to the Origin
- Check if it is possible to move from (0, 0) to (x, y) in N steps
- Check if a point lies on or inside a rectangle | Set-2
- Number of triangles that can be formed with given N points
- Intersecting rectangle when bottom-left and top-right corners of two rectangles are given
- Largest Square that can be inscribed within a hexagon
- Minimum squares to cover a rectangle
- Area of a circle inscribed in a regular hexagon
- Area of largest triangle that can be inscribed within a rectangle
- Check whether the point (x, y) lies on a given line
- Check if any square (with one colored cell) can be divided into two equal parts
- Check if a point is inside, outside or on the ellipse
- Program for Area Of Square after N-th fold
- Number of squares of side length required to cover an N*M rectangle
- Maximum number of pieces in N cuts
- Program to find the Radius of the incircle of the triangle
- Check if a point is inside, outside or on the parabola
- Program to find the Circumcircle of any regular polygon
- Area of Largest rectangle that can be inscribed in an Ellipse
- Program to find the angles of a quadrilateral
- Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
- Check if it is possible to create a polygon with a given angle
- Find a point that lies inside exactly K given squares
- Find area of triangle if two vectors of two adjacent sides are given
- Circumradius of the rectangle
- Maximum area of rectangle possible with given perimeter

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 »

Given a and b are the lengths of the diagonals AC and BD of a quadrilateral ABCD with the area of quadrilateral as s. The… Read More »

Given an integer a as the side of the square ABCD. The task is to find the area of the leaf AECFA inside the square… Read More »

Given a frustum of height , top-radius & base-radius . The task is to find the volume of biggest right circular cylinder that can be… Read More »

Given a cube of side length a. The task is to find the volume of biggest right circular cylinder that can be inscribed within it.… Read More »

Given the base and height of the parallelogram ABCD are b and h respectively. The task is to calculate the area of the triangle ▲ABM… Read More »