diagonal - 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

All Products    Maple    MapleSim


geometry

  

diagonal

  

return the length of the diagonal of a square

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

form(Sq)

Parameters

Sq

-

square

Description

• 

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.

Examples

withgeometry:

pointA,0,0,pointB,1,0,pointC,1,1,pointF,0,1:

squareSq,A,B,C,F

Sq

(1)

diagonalSq

2

(2)

See Also

geometry[square]