04.01.2015 Views

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A. CRBasic Programming Instructions<br />

COS<br />

Returns the cosine of an angle specified in radians.<br />

Syntax<br />

x = COS(source)<br />

COSH<br />

Returns the hyperbolic cosine of an expression or value.<br />

Syntax<br />

x = COSH(source)<br />

SIN<br />

Returns the sine of an angle.<br />

Syntax<br />

x = SIN(source)<br />

SINH<br />

Returns the hyperbolic sine of an expression or value.<br />

Syntax<br />

x = SINH(Expr)<br />

TAN<br />

Returns the tangent of an angle.<br />

Syntax<br />

x = TAN(source)<br />

TANH<br />

Returns the hyperbolic tangent of an expression or value.<br />

Syntax<br />

x = TANH(Source)<br />

A.6.7 Arithmetic Functions<br />

ABS<br />

Returns the absolute value of a number.<br />

Syntax<br />

x = ABS(source)<br />

ABSLong<br />

Returns the absolute value of a number. Returns a value of data type Long when<br />

the expression is type Long.<br />

Syntax<br />

x = ABS(source)<br />

Ceiling<br />

Rounds a value to a higher integer.<br />

Syntax<br />

variable = Ceiling(Number)<br />

EXP<br />

Returns e (the base of natural logarithms) raised to a power.<br />

Syntax<br />

x = EXP(source)<br />

497

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!