https://matecalculator.com/math/pythagorean-theorem