geometry
sides
compute the sides of a given triangle or a given square
Calling Sequence
Parameters
Description
Examples
sides(g)
g
-
triangle or square
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.
with⁡geometry:
triangle⁡ABC,point⁡A,0,0,point⁡B,3,0,point⁡C,0,4:
sides⁡ABC
9,25,16
point⁡C,0,3,point⁡E,3,3:
square⁡Sq,A,B,E,C:
sides⁡Sq
18⁢22
See Also
geometry[FindAngle]
geometry[square]
geometry[triangle]
Download Help Document