勾股定理
The slope (in percent) is then calculated using the Pythagorean theorem: