COS() SIN() TAN()

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 CMM2

Syntax:
COS( number )

Description:

COS( number )
Returns the cosine of the argument 'number' in radians.

SIN( number )
Returns the sine of the argument 'number' in radians.

TAN( number )
Returns the tangent of the argument 'number' in radians.

ON the CMM2, if OPTION ANGLE DEGREES is set, the arguments are in degrees

PRINT SIN(PI/2) ' PI/2 radians = 90 degrees

Output
1


PRINT TAN(PI/2) ' PI/2 radians = 90 degrees

Output
1.633123935e+16

The value of TAN(PI/2) will depend on the precision of the floating point.
(TAN 90 degrees is infinity)

Last edited: 29 September, 2020