Midpoint - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Precalculus]

  

Midpoint

  

find the midpoint of a line segment

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Midpoint(p1, p2)

Parameters

p1

-

an n-element list or Vector specifying a point

p2

-

an n-element list or Vector specifying a point

Description

• 

The command Midpoint(p1, p2) computes the midpoint of the line segment joining p1 and p2.

• 

p1 and p2 must specify points of 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 Midpoint(..) only after executing the command with(Student[Precalculus]).  However, it can always be used in the form Student[Precalculus][Midpoint](..).

Examples

withStudent:-Precalculus:

Midpoint0,0,1,1

12,12

(1)

Midpoint0,1,2,1,2,3

12,32,52

(2)

Midpointa1,b1,a2,b2

a12+a22b12+b22

(3)

See Also

CenterOfMass

Distance

Line

Slope

Vector