Pythagorean theorem.