Estimate Pi by Monte Carlo method
We can estimate the value of pi with random number by Monte Carlo method.
Suppose we have a square of side length of 1 and a q...
2 months ago
Solved
Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...