Distance

Computes the distance between two points. The points are given as two pairs of real cartesian coordinates (x1,y1) and (x2,y2).

Blocks tree path

Standard\Arithmetic\Distance

Inputs

Name Type Description
x1 real X coordinate of first point.
y1 real Y coordinate of first point.
x2 real X coordinate of second point.
y2 real Y coordinate of second point.

Outputs

Name Type Description
d real The distance between (x1,y1) and (x2,y2).