geometry
diagonal
return the length of the diagonal of a square
Calling Sequence
Parameters
Description
Examples
form(Sq)
Sq
-
square
The routine returns the length of the diagonal of the given square Sq.
The command with(geometry,diagonal) allows the use of the abbreviated form of this command.
with⁡geometry:
point⁡A,0,0,point⁡B,1,0,point⁡C,1,1,point⁡F,0,1:
square⁡Sq,A,B,C,F
diagonal⁡Sq
2
See Also
geometry[square]
Download Help Document