sides - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geometry

  

sides

  

compute the sides of a given triangle or a given square

 

Calling Sequence

Parameters

Description

Examples

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

1822

(2)

See Also

geometry[FindAngle]

geometry[square]

geometry[triangle]