Skip to main content

Trigonometric and hyperbolic functions

This section describes functions for performing trigonometric and hyperbolic operations. In all of the functions, the arguments are expressions resolving to angles measured in radians, where x should be interpreted as a real number.

All angles are measured in radians.

All functions can be used in both the data load script and in chart expressions.

Examples:  

The following script code loads a sample table, and then loads a table containing the calculated trigonometric and hyperbolic operations on the values.

SampleData: LOAD * Inline [Value -1 0 1]; Results: Load *, cos(Value), acos(Value), sin(Value), asin(Value), tan(Value), atan(Value), atan2(Value, Value), cosh(Value), sinh(Value), tanh(Value) RESIDENT SampleData; Drop Table SampleData;

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!