A.6.6.2 intrinsic functions – Campbell Scientific CR3000 Micrologger User Manual
Page 499

Appendix A. CRBasic Programming Instructions
499
Table 121. Derived Trigonometric Functions
Function CRBasic
Equivalent
Hyperbolic Cotangent
HCotan = (Exp(X) + Exp(-X)) / (Exp(X) - Exp(-X))
Inverse Hyperbolic Sine
HArcsin = Log(X + Sqr(X * X + 1))
Inverse Hyperbolic Cosine
HArccos = Log(X + Sqr(X * X - 1))
Inverse Hyperbolic Tangent
HArctan = Log((1 + X) / (1 - X)) / 2
Inverse Hyperbolic Secant
HArcsec = Log((Sqr(-X * X + 1) + 1) / X)
Inverse Hyperbolic Cosecant
HArccosec = Log((Sgn(X) * Sqr(X * X + 1) + 1) / X)
Inverse Hyperbolic Cotangent
HArccotan = Log((X + 1) / (X - 1)) / 2
A.6.6.2 Intrinsic Functions
ACOS
Returns the arccosine of a number.
Syntax
x = ACOS(source)
ASIN
Returns the arcsin of a number.
Syntax
x = ASIN(source)
ATN
Returns the arctangent of a number.
Syntax
x = ATN(source)
ATN2
Returns the arctangent of y / x.
Syntax
x = ATN(y , x)
COS
Returns the cosine of an angle specified in radians.
Syntax
x = COS(source)
COSH
Returns the hyperbolic cosine of an expression or value.
Syntax
x = COSH(source)
SIN
Returns the sine of an angle.
Syntax
x = SIN(source)