Skip to content

Category Archives: Geometric

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 and d, representing coefficients of a straight line with equation (ax + by + c = 0), the task… 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 integers 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 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
Given a sorted 2D array arr[][2] of size N such that (arr[i][0], arr[i][1]) represents the coordinates of ith point in the cartesian plane and an… Read More
Prerequisite: Bresenham’s Line Generation Algorithm In this article, we will understand how Bresenham’s Line Algorithm is used to find all the octaves. While understanding the… Read More
Given two integers M1 and M2 representing the slope of two lines intersecting at a point, the task is to find the angle between these… Read More
Given four positive integers A, B, C, and D representing the length of sides of a Cyclic Quadrilateral, the task is to find the area… Read More

Start Your Coding Journey Now!