Android app on Google Play

Lines and points

The distance between the points A(x1, y1) and B(x2, y2) is given by:

|AB|=sqrt{(x_2-x_1)^2+(y_2-y_1)^2}

This formula is actually another version of the Pythagorean equation.