student(deprecated)/midpoint - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

student

  

midpoint

  

compute the midpoint of a line segment

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

midpoint(p1, p2)

Parameters

p1, p2

-

names, expressions, or points

Description

• 

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

• 

The function midpoint will compute the midpoint of the line segment defined by the two points p1 and p2. The points should be either lists of length 2, or expressions.  In the latter case, the midpoint of the two expressions is just their average.

• 

If one argument is a point and the other is a name, then the name is treated as an unevaluated point.

• 

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

Examples

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

withstudent:

midpointa,b,c,d

a2+c2,b2+d2

(1)

midpoint5,8

32

(2)

midpointc,a,b

c12+a2,c22+b2

(3)

See Also

Student

student(deprecated)[distance]

student(deprecated)[slope]

Student[Precalculus][Midpoint]