altitude - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

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

withgeom3d:

Define triangle ABC with vertices A, B and C.

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

Find the altitude of ABC at A

altitudehA1,A,ABC

hA1

(1)

formhA1

line3d

(2)

detailhA1

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

(3)

altitudehA2,A,ABC,H

hA2

(4)

formhA2

segment3d

(5)

detailhA2

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

(6)

DefinedAshA2

A,H

(7)

See Also

geom3d[triangle]

 


Download Help Document