Pythagorean theorem
The same equation can also be derived using the Pythagorean theorem.