compute the sides of a given triangle or a given square - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : Triangle Geometry : geometry/sides

geometry[sides] - compute the sides of a given triangle or a given square

Calling Sequence

sides(g)

Parameters

g

-

triangle or square

Description

• 

The routine computes the sides of triangle g or square g.

• 

In case g is a triangle, the output is a list of three element denoting the three sides of g.

• 

The command with(geometry,sides) allows the use of the abbreviated form of this command.

Examples

withgeometry:

triangleABC,pointA,0,0,pointB,3,0,pointC,0,4:

sidesABC

9,25,16

(1)

pointC,0,3,pointE,3,3:

squareSq,A,B,E,C:

sidesSq

12182

(2)

See Also

geometry[FindAngle], geometry[square], geometry[triangle]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam