https://alandroidnet.com/related/pythagorean theorem formula