# Category Archives: Geometric

## Maximize volume of cuboid with given sum of sides

We are given the sum of length, breadth and height, say S, of a cuboid. The task is to find the maximum volume that can… Read More »

## Program to calculate volume of Ellipsoid

Ellipsoid, closed surface of which all plane cross sections are either ellipses or circles. An ellipsoid is symmetrical about three mutually perpendicular axes that intersect… Read More »

## Program to find slope of a line

Given two co-ordinates, find the slope of a straight line. Examples: Input : x1 = 4, y1 = 2, x2 = 2, y2 = 5… Read More »

## Program to find third side of triangle using law of cosines

Given two sides A, B and angle C. Find the third side of the triangle using law of cosines. Examples: Input : a = 5,… Read More »

## Program to find smallest difference of angles of two parts of a given circle

Given a division of circle into n pieces as an array of size n. The i-th element of the array denotes the angle of one… Read More »

## Program for volume of Pyramid

A pyramid is a 3-dimensional geometric shape formed by connecting all the corners of a polygon to a central apex. There are many types of… Read More »

## Minimum height of a triangle with given base and area

Given two integers a and b, find the smallest possible height such that a triangle of atleast area “a” and base “b” can be formed.… Read More »

## Calculate volume and surface area of a cone

Given slant height, height and radius of a cone, we have to calculate the volume and surface area of the cone. Cone : Cone is… Read More »

## Program to find area of a Trapezoid

Definition of Trapezoid : A Trapezoid is a convex quadrilateral with at least one pair of parallel sides. The parallel sides are called the bases… Read More »

## Minimum area of a Polygon with three points given

Given three points of a regular polygon( n > 3), find the minimum area of a regular polygon (all sides same) possible with the points… Read More »

## Calculate Volume and Surface area Of Sphere

Given radius of sphere, calculate the volume and surface area of sphere. Sphere: Just like a circle, which geometrically is a two-dimensional object, a sphere… Read More »

## Find the dimensions of Right angled triangle

Given H (Hypotenuse) and A (area) of a right angled triangle, find the dimensions of right angled triangle such that the hypotenuse is of length… Read More »

## Find all possible coordinates of parallelogram

Find the all the possible coordinate from the given three coordinates to make a parallelogram of a non-zero area. Let’s call A,B,C are the three… Read More »

## Maximum integral co-ordinates with non-integer distances

Given a maximum limit of x – coordinate and y – coordinate, we want to calculate a set of coordinates such that the distance between… Read More »