# Geometric

### Program to calculate Surface Area of Ellipsoid

Given the length of the three semi-axes as A, B, and C, the task is to find the surface area…

### Check if chords of a Circle are symmetric after some rotation

#include using namespace std;  vector calculateDivisors(int N){    vector div;    for (int i = 1; i * i A[i].second) {            swap(A[i].first, A[i].second);        }        st.insert(A[i]);    }          vector div = calculateDivisors(N);          for…

### Altitude of largest Triangle that can be inscribed in a Rectangle

Given a rectangle of length L and breadth B, the task is to print the maximum integer altitude possible of…

### Check if N given lines can be intersected by K vertical lines

Given N horizontal lines represented by an array position[][] of size N, where position[i] represents the ith horizontal line which…

### Maximum area of a Cake after Horizontal and Vertical cuts

Given two positive integers h and w representing the height h and width w which forms a rectangle. Also, there…

### Area of a triangle with two vertices at midpoints of opposite sides of a square and the other vertex lying on vertex of a square

Area of a triangle with two vertices at midpoints of opposite sides of a square and the other vertex lying…

### Determine position of two points with respect to a 3D plane

#include using namespace std;  void check_position(int a, int b, int c, int d,                    int x1, int y1, int z1,                    int x2, int y2,…

### Length of intercept cut off from a line by a Circle

#include using namespace std;  double radius(int a, int b, int c){            int g = a / 2;    int f = b / 2;          if…