Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 4 Expressions > 4.12 Expression Operator / Function Reference

4.12.6 Trigometric functions

Scroll Prev Top Next More

The standard trig functions are supported:

Normal:

 

Sin(x)

Cos(x)

Tan(x)

Inverse:

 

ASin(x)

ACos(x)

ATan(x)

Hyperbolic:

 

SinH(x)

CosH(x)

TanH(x)

All these functions use Radians.  To convert degrees to radians, just multiply by Pi()/180: Sin(30 * Pi()/180) returns 0.500

As with most functions, you can pass scalar or array values to any of these functions.  

Examples:

Sin(1) returns 0.841

Sin({1,2}) returns {0.841,0.909}