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

Online Help

All Products    Maple    MapleSim


geom3d

  

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);)

• 

The command with(geom3d,altitude) allows the use of the abbreviated form of this command.

Examples

> 

with⁡geom3d:

Define triangle ABC with vertices A, B and C.

> 

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

Find the altitude of ABC at A

> 

altitude⁡hA1,A,ABC

hA1

(1)
> 

form⁡hA1

line3d

(2)
> 

detail⁡hA1

Warning, assume that the parameter in the parametric equations is _t

Warning, assuming that the names of the axes are _x, _y, and _z

name of the objecthA1form of the objectline3dequation of the line_x=9⁢_t5,_y=3⁢_t5,_z=0

(3)
> 

altitude⁡hA2,A,ABC,H

hA2

(4)
> 

form⁡hA2

segment3d

(5)
> 

detail⁡hA2

name of the objecthA2form of the objectsegment3dthe 2 ends of the segment0,0,0,95,35,0

(6)
> 

DefinedAs⁡hA2

A,H

(7)

See Also

geom3d[triangle]