Distance - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

Student[Precalculus]

  

Distance

  

find the distance between two points

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Distance(p1, p2)

Parameters

p1

-

n-element list or n-Vector

p2

-

n-element list or n-Vector

Description

• 

The command Distance(p1, p2) computes the distance between the points p1 and p2, which must have the same dimensionality (and orientation, when each of the points is a Vector).

• 

This command is part of the Student[Precalculus] package, so it can be used in the form Distance(..) only after executing the command with(Student[Precalculus]).  However, it can always be used in the form Student[Precalculus][Distance](..).

Examples

withStudent:-Precalculus:

Distance0,0,1,2

5

(1)

Distance1,2,3,0,1,2

11

(2)

Distance0,0,1,2

5

(3)

See Also

geom3d[distance]

geometry[distance]

Line

Midpoint

Slope

Vector

 


Download Help Document