Dist2d()
dist2d(x1, y1, x2, y2)
Returns the distance between the Cartesian points in two dimensions
(x1,y1) and (x2,y2).
Example
> say dist2d(0,0,3,4)
You say, “5”
dist2d(x1, y1, x2, y2)
Returns the distance between the Cartesian points in two dimensions
(x1,y1) and (x2,y2).
> say dist2d(0,0,3,4)
You say, “5”