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

Online Help

All Products    Maple    MapleSim


geometry

  

median

  

find the median of a given triangle

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

median(mA, A, ABC, M)

Parameters

mA

-

A-median of ABC

A

-

vertex of ABC

ABC

-

triangle

M

-

(optional) name

Description

• 

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.

Examples

withgeometry:

triangleABC,pointA,0,0,pointB,2,0,pointC,1,3:

medianmA,A,ABC

mA

(1)

formmA

line2d

(2)

detailmA

assume that the names of the horizontal and vertical axes are _x and _y, respectively

name of the objectmAform of the objectline2dequation of the line3_x2+3_y2=0

(3)

medianmA,A,ABC,M

mA

(4)

formmA

segment2d

(5)

detailmA

name of the objectmAform of the objectsegment2dthe two ends of the segment0,0,32,32

(6)

See Also

geometry[altitude]

geometry[bisector]

geometry[triangle]