https://kodejava.org/how-do-i-calculate-the-length-of-hypotenuse/
How do I calculate the length of hypotenuse?