Student[Precalculus]
Midpoint
find the midpoint of a line segment
Calling Sequence
Parameters
Description
Examples
Midpoint(p1, p2)
p1
-
an n-element list or Vector specifying a point
p2
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](..).
with⁡Student:-Precalculus:
Midpoint⁡0,0,1,1
12,12
Midpoint⁡0,1,2,1,2,3
12,32,52
Midpoint⁡a1,b1,a2,b2
a12+a22b12+b22
See Also
CenterOfMass
Distance
Line
Slope
Vector
Download Help Document