Hint #5 to Lab 6
The distance formula ( (x1-x0)^2 + (y1-y0)^2 )^(1/2) computes the distance between the points (x0,y0) and (x1,y1).