# Category Archives: Geometric

Given a vector of pairs,  V[] denoting the width and height of N rectangles numbered from 1 to N, these rectangles are placed in contact… Read More
Given a positive integer N representing the side of a square, the task is to find the area of a triangle formed by connecting the… Read More
Given two integers A and B, representing the length of the semi-major and semi-minor axes of a Hyperbola, the task is to find the length… Read More
Given six integers, a, b, c, i, j, and k representing the equation of the circle  and equation of the line , the task is to find… Read More
Given four integers a, b, c, and d, which represents the coefficient of the equation of the plane ax + by + cz + d… Read More
Given four integers a, b, c representing coefficients of a straight line with equation (ax + by + c = 0), the task is to… Read More
Given two integers D and A representing the perpendicular distance from the origin to a straight line and the angle made by the perpendicular with… Read More
Given three integers a, b, c representing coefficients of the equation x2 + y2 + ax + by + c = 0 of a circle,… Read More
Given an array arr[] consisting of N integers such that each pair of points (x, y) represents the endpoints of the semicircle as (x, 0)… Read More
Given a positive integer R representing the radius of the circle and the center of the circle (X1, Y1) and another point (X2, Y2) in… Read More
Given an N-sided polygon, the task is to find the ratio of the area of the Nth to (N + 1)th N-sided regular nested polygons… Read More
Given centres and the radii of three circles A, B, and C in the form of {X, Y, R}, where (X, Y) is the centre… Read More
Given an array arr[] consisting of N coordinates in the Cartesian Plane, the task is to find the number of coordinates, such as (X, Y),… Read More
Given two integers A and B, representing the length of the semi-major and semi-minor axis of a Hyperbola of the equation (X2 / A2) –… Read More
Given an integer L, representing the side length of an N-sided regular polygon and integer K, the task is to find the side length of… Read More