derivative of sqrt((x(t)-a)^2+(y(t)-b)^2) with respect to t