# Category Archives: Mathematical (adsbygoogle = window.adsbygoogle || []).push({});

## Biggest Reuleaux Triangle inscribed within a square which is inscribed within a hexagon

Given a regular hexagon of side length a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

## Check if it is possible to reach a number by making jumps of two given length

Given a starting position ‘k’ and two jump sizes ‘d1’ and ‘d2’, our task is to find the minimum number of jumps needed to reach… Read More »

## Find the final X and Y when they are Altering under given condition

Given initial values of two positive integers X and Y, Find the final value of X and Y according to below alterations: 1. If X=0… Read More »

## Predictor-Corrector or Modified-Euler method for solving Differential equation

For a given differential equation with initial condition find the approximate solution using Predictor-Corrector method. Predictor-Corrector Method : The predictor-corrector method is also known as… Read More »

## Program to check if a number is divisible by any of its digits

Given an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given… Read More »

## Print all multiplicative primes <= N

Given an integer N, the task is to print all the multiplicative primes ≤ N. Multiplicative Primes are the primes such that the product of… Read More »

## Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle

Given here is a semicircle of radius r which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

## Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle

Given here is an equilateral triangle of sidelength a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find… Read More »

## Largest number less than or equal to N/2 which is coprime to N

Given a number N, the task is to find the largest positive integer less than or equal to N/2 which is coprime to N. Note:… Read More »

## Find the area of largest circle inscribed in ellipse

Given an ellipse, with major and minor axis length 2a & 2b respectively. The task is to find the area of the largest circle that… Read More »

## Print prime numbers with prime sum of digits in an array

Given an array arr[] and the task is to print the additive primes in an array. Additive primes: Primes such that the sum of their… Read More »

## Find K Closest Points to the Origin

Given a list of points on the 2-D plane and an integer K. The task is to find K closest points to the origin and… Read More »

## Program for Area Of Square after N-th fold

A square is a flat shape, in one plane, defined by four points at the four corners. A square has four sides all of equal… Read More »

## Maximum path sum in an Inverted triangle | SET 2

Given numbers in form of an Inverted triangle. By starting at the bottom of the triangle and moving to adjacent numbers on the row above,… Read More »

## Check whether two straight lines are orthogonal or not

Given two line segments AB and CD having A(x1, y1), B(x2, y2), C(x3, y3) and D(x4, y4). The task is to check whether these two… Read More »