pythagorean theorem in the real world