Distance Between a Point and a Line

The line is determined by the point A(a1,a2,a3) and the direction u = <u1,u2,u3>. The slider t allows you to choose different points P on the line. The worksheet finds the distance between the point Q(q1,q2,q3) and the line.