ピタゴラスの定理
The slope (in percent) is then calculated using the Pythagorean theorem: