## Program to calculate are of Enneagon

Enneagon is a polygon with 9 sides and 9 internal angles. Enneagon is also known as Nonagon. A regular nonagon has an internal angle of… Read More »

Enneagon is a polygon with 9 sides and 9 internal angles. Enneagon is also known as Nonagon. A regular nonagon has an internal angle of… Read More »

Given the side of a square then find the area of a Circumscribed circle around it. Examples: Input : a = 6 Output : Area… Read More »

There is a m*n rectangular matrix whose top-left(start) location is (1, 1) and bottom-right(end) location is (m*n). There are k circles each with radius r.… Read More »

Given the sides of Octahedron then calculate the surface area. Examples: Input : 7 Output : 169.741 Input : 9 Output : 280.59 Recommended: Please… Read More »

Given three sides, check whether triangle is valid or not. Examples: Input : a = 7, b = 10, c = 5 Output : Valid… Read More »

Given a number N, find the number of ways you can draw N chords in a circle with 2*N points such that no 2 chords… Read More »

Given four positive integers, determine if there’s a rectangle such that the lengths of its sides are a, b, c and d (in any order).… Read More »

There are ‘n’ points in a plane out of which ‘m points are collinear. How many different straight lines can form? Examples: Input : n… Read More »

Given three points on the x-y coordinate plane. You need to find the no. of line segments formed by making a polyline passing through these… Read More »

Given four points, check whether they form Pythagorean Quadruple. It is defined as a tuple of integers a, b, c, d such that . They… Read More »

Given the edge of the dodecahedron calculate its Volume. Volume is the amount of the space which the shapes takes up. A dodecahedron is a… Read More »

Given two endpoint of diameter of a circle (x1, y1) and (x2, y2) find out the center of a circle. Examples : Input : x1… Read More »

Given diameter and height, find the perimeter of a cylinder. Perimeter is the length of the outline of a two – dimensional shape. A cylinder… 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 »