Calculating the shortest distance of a point from a line
Vary m and c with the sliders. The points A can be dragged.
Information: Calculating the shortest distance of a point from a line