## Program to find area of a Circular Segment

In a circle, if a chord is drawn then that chord divides the whole circle into two parts. These two parts of the circle are… Read More »

In a circle, if a chord is drawn then that chord divides the whole circle into two parts. These two parts of the circle are… Read More »

Given two positive integers n and m. The task is to count number of parallelogram that can be formed of any size when n horizontal… Read More »

Given two coordinates of a line starting is (x1,y1) and ending is (x2,y2) find out the mid-point of a line. Examples : Input : x1… Read More »

Given a N*M matrix A[][] representing a 3D figure. The height of the building at is . Find the surface area of the figure. Examples… Read More »

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

Given the sides of Parallelogram then calculate the circumference. Examples : Input: a = 10, b = 8 Output: 36.00 Input: a = 25.12, b… Read More »

Given latitude and longitude in degrees find the distance between two points on the earth. Image Source : Wikipedia Examples: Input : Latitude 1: 53.32055555555556… Read More »

Given the side of the Octahedron then calculate the volume of Octahedron. Examples: Input : 3 Output : 12.7279 Input : 7 Output : 161.692… Read More »

A Tetrahedron is simply a pyramid with a triangular base. It is a solid object with four triangular faces, three on the sides or lateral… Read More »

Given the length, breadth, height of a cuboid. The task is to divide the given cuboid in minimum number of cubes such that size of… Read More »

Given the dimensions of cylindrical water tank, spherical solid balls and the amount of water present in the tank check if water tank will overflow… Read More »

Calculate volume and surface area of a hemisphere. Hemisphere : In geometry, it is an exact half of a sphere. We can find many of… Read More »

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

Given n integer coordinates. The task is to find sum of manhattan distance between all pairs of coordinates. Manhattan Distance between two points (x1, y1)… Read More »

We are given n points in a Cartesian plane. Our task is to find the minimum number of points that should be removed in order… Read More »