Dist2d(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
New page: Category:Functions {{Function|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...
 
(No difference)

Latest revision as of 19:46, 25 November 2010


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"

dist3d()