From Hobowiki
[edit] Rectangular Coordinates
[edit] Pythagorean Theorem
This defines a right triangle and can be used to determine if the coordinates define a right triangle.
[edit] Distance Formula
Simplified as
Simplified even more as this
[edit] Line Midpoint Formula