beautypg.com

Remote Processing CAMBASIC User Manual

Page 164

background image

Comm ands - 131

TAN

Numeric Fun ction

SYNTAX:

n = T A N (m)

PURPOSE:

To return the trigonometr ic tangent of m.

REMARK S:

The angle m must be in radians. To conver t degrees to radians, m ultiply by PI/180 where PI =
3.141593.

RELATED:

ATN , C OS, SIN

EXAMPLE:

10 PRINT TAN(1.5)
14.1014

ERROR:

none