Trigonometric Functions

FunctionResult
float acos( float x)Returns the arc cosine of x, in radians
float asin( float x)

Returns the arc sine of x, in radians.

float atan( float x)

Returns the arc tangent of x, in radians.

float atan2( float y, float x)

Returns the arc tangent of \frac{x}{y} in radians. The result is between -pi and pi. Differs from just using arc(\frac{x}{y}) because it can use the sign of each number to determine which quadrant to put the result in.

float cos( float x)

Returns the cosine x radians.

float hypot( float x, float y)

Return the Euclidean norm, \sqrt{xx+yy}. This is the length of the vector from the origin to point (x,y).


float sin( float x)

Returns the sine x radians.
float tan( float x)Returns the tangent x radians.

float degrees( float x)

Converts the angle x from radians to degrees.

float radians( float x)

Converts the angle x from degrees to radians.

float acosh( float x)

Returns the inverse hyperbolic cosine of x.

float asinh( float x)

Returns the inverse hyperbolic sine of x.

float atanh( float x)

Returns the inverse hyperbolic tangent of x.

float cosh( float x)

Returns the hyperbolic cosine of x.

float sinh( float x)

Returns the hyperbolic sine of x.
float tanh( float x)

Returns the hyperbolic tangent of x.