Pythagorean Theorem and Displacement