student(deprecated)/distance - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : student(deprecated)/distance

student

  

distance

  

compute the distance between Points

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

distance(a, b)

Parameters

a, b

-

expressions or objects of type Point

Description

• 

Important: The student package has been deprecated. Use the superseding command Student[Precalculus][Distance] instead.

• 

The distance function computes the distance between Points in one or higher dimensions. If the Points are of dimension 2 or higher (such as x,y or 1,2,3) then the standard Euclidean distance is used. If one or both Points are algebraic expressions other than names, then the distance is computed in one dimension. If the Points are both names then distance returns unevaluated.

• 

A Point in two or more dimensions is defined as a list of coordinates (such as x,y, or x,y,z). {Point}s in one dimension are just algebraic expressions, though names may be treated as either depending on the context.

• 

The command with(student,distance) allows the use of the abbreviated form of this command.

Examples

Important: The student package has been deprecated. Use the superseding command Student[Precalculus][Distance] instead.

withstudent:

distancea,b

distancea,b

(1)

distance3,a+5

a+8

(2)

distancea,b,c,d

db2+ca2

(3)

See Also

Student

student(deprecated)[completesquare]

student(deprecated)[midpoint]

student(deprecated)[Point]

student(deprecated)[slope]

Student[Precalculus][Distance]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam