Roots and Pythagorean Theorem