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

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

> 

with⁡geometry:

> 

triangle⁡ABC,point⁡A,0,0,point⁡B,2,0,point⁡C,1,3:

> 

median⁡mA,A,ABC

mA

(1)
> 

form⁡mA

line2d

(2)
> 

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

(3)
> 

median⁡mA,A,ABC,M

mA

(4)
> 

form⁡mA

segment2d

(5)
> 

detail⁡mA

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

(6)

See Also

geometry[altitude]

geometry[bisector]

geometry[triangle]