This project uses the Pythagorean theorem (a^2+b^2=c^2) to calculate the distance between two points (Dots C and A in the project). The three points represent a right triangle where A,C is the hypotenuse and A,B & B,C are the legs.