geometry
median
find the median of a given triangle
Calling Sequence
Parameters
Description
Examples
median(mA, A, ABC, M)
mA
-
A-median of ABC
A
vertex of ABC
ABC
triangle
M
(optional) name
The A-median of triangle ABC is the cevian line through the midpoint of the side BC.
If the third optional argument M is given, the object returned a line segment AM where M is the midpoint of the side BC.
For a detailed description of the median mA, use the routine detail (i.e., detail(mA))
Note that the routine only works if the vertices of the triangle are known.
The command with(geometry,median) allows the use of the abbreviated form of this command.
with⁡geometry:
triangle⁡ABC,point⁡A,0,0,point⁡B,2,0,point⁡C,1,3:
median⁡mA,A,ABC
form⁡mA
line2d
detail⁡mA
assume that the names of the horizontal and vertical axes are _x and _y, respectively
name of the objectmAform of the objectline2dequation of the line−3⁢_x2+3⁢_y2=0
median⁡mA,A,ABC,M
segment2d
name of the objectmAform of the objectsegment2dthe two ends of the segment0,0,32,32
See Also
geometry[altitude]
geometry[bisector]
geometry[triangle]
Download Help Document