Student[MultivariateCalculus] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Multivariate Calculus : Lines and Planes : Student/MultivariateCalculus/Distance

Student[MultivariateCalculus]

  

Distance

  

return the distance between lines, planes, or points

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Distance(pl1, pl2)

Parameters

pl1, pl2

-

Line, Plane, list; Line or Plane object defined in Student[MultivariateCalculus], or a point in 2D or 3D.

Description

• 

The Distance command calculates the distance between two lines, planes or points.

• 

If the arguments intersect, the Distance command returns zero.

• 

The answer is not necessarily simplified. The command evalf can be used to convert the answer to a floating point value.

Examples

withStudent[MultivariateCalculus]:

l1Line0,2,6,10,15,20:

l2Line3,7,3,2,3,4:

AreParallell1,l2

true

(1)

dDistancel1,l2

d129123829

(2)

The floating point value of this expression can be obtained with evalf.

evalfd

6.533732100

(3)

Distancel1,5,6,2

12954529

(4)

The distance between two intersecting lines is 0.

l3Line3,7,3,7,1,6:

Intersectsl2,l3

true

(5)

Distancel2,l3

0

(6)

l4Line5,2,9,2:

l5Line0,0,9,2:

Distancel4,l5

288585

(7)

p1Plane1,0,0,0,2,0,0,0,3:

Distancep1,2,3,4

237

(8)

p2Plane10x+2y2z=5:

p3Plane5x+yz=1:

Distancep2,p3

163

(9)

l6Line2,3,10,7,0,0:

p2Plane3,6,1,0,0,7:

Intersectsp2,l6

false

(10)

Distancep2,l6

11

(11)

Compatibility

• 

The Student[MultivariateCalculus][Distance] command was introduced in Maple 17.

• 

For more information on Maple 17 changes, see Updates in Maple 17.

See Also

Student[MultivariateCalculus]

Student[MultivariateCalculus][Line]

Student[MultivariateCalculus][Plane]

Student[MultivariateCalculus][Equal]

Student[MultivariateCalculus][AreParallel]

Student[MultivariateCalculus][Intersects]

 


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