A.13.1. Trigonometric Functions

The trigonometric functions shown below are computed (with one exception) for the variable x. Both the function and the argument are double-precision real variables. The function acos(x) is the arccosine of the argument x, . The function atan2(x,y) is the arctangent of x/y, . The function cosh(x) is the hyperbolic cosine function, and so on.

double acos (double x);

Returns the arccosine of x

double asin (double x);

Returns the arcsine of x

double atan (double x);

Returns the arctangent of x

double atan2 (double x, double y);

Returns the arctangent of x/y

double cos (double x);

Returns the cosine of x

double sin (double x);

Returns the sine of x

double tan (double x);

Returns the tangent of x

double cosh (double x);

Returns the hyperbolic cosine of x

double sinh (double x);

Returns the hyperbolic sine of x

double tanh (double x);

Returns the hyperbolic tangent of x


Release 18.2 - © ANSYS, Inc. All rights reserved.