Pythagorean theorem
Based on the Pythagorean theorem.