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

Online Help

All Products    Maple    MapleSim


geometry

  

altitude

  

find the altitude of a given triangle

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

altitude(hA, A, ABC, H)

Parameters

hA

-

the A-altitude of ABC

A

-

vertex of ABC

ABC

-

triangle

H

-

(optional) name

Description

• 

An altitude from the vertex A of a triangle ABC is a line segment (or its extension) from vertex A perpendicular to the side BC.

• 

If the optional argument H is given, the object returned (hA) is a line segment AH where H is the projection of A onto the side BC. If it is not given, the object returned is a line passing through A and is perpendicular to the side BC.

• 

For a detailed description of the altitude hA, use the routine detail (i.e., detail(hA))

• 

Note that the routine only works if the vertices of the triangle are known.

• 

The command with(geometry,altitude) 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:

> 

altitude⁡hA1,A,ABC

hA1

(1)
> 

form⁡hA1

line2d

(2)
> 

detail⁡hA1

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

name of the objecthA1form of the objectline2dequation of the line−_x+3⁢_y=0

(3)
> 

altitude⁡hA2,A,ABC,H

hA2

(4)
> 

form⁡hA2

segment2d

(5)
> 

detail⁡hA2

name of the objecthA2form of the objectsegment2dthe two ends of the segment0,0,95,35

(6)
> 

DefinedAs⁡hA2

A,H

(7)

See Also

geometry[bisector]

geometry[median]

geometry[triangle]