beautypg.com

Remote Processing CAMBASIC User Manual

Page 149

background image

Comm ands - 116

SIN

Numeric Fun ction

SYNTAX:

n = S I N (m)

PURPOSE:

To calculate the trigonometric sine function.

REMARK S:

m is an angle in radians. To convert degrees to radians, multiply by PI/180 where P I = 3.141593.

RELATED:

ATN, COS, TAN

EXAMPLE:

PRINT SIN(1.5)
.997495

ERROR:

none