Trigonometric functions

Trigonometric functions are used to calculate degrees, angles, and other geometric data.

Function

Purpose

Acos

Returns the arccosine (Acos), or inverse cosine, of a number.

Asin

Returns the arcsine (Asin), or inverse sine, of a number.

Atan

Returns the trigonometric arc tangent (Atan), or inverse tangent, of a number.

Cos

Returns the cosine (Cos) of angleInRadians.

Degrees

Converts angleInRadians to degrees.

Pi

Calculates the value of the constant Pi.

Radians

Converts angleInDegrees to radians.

Sin

Returns the sine (Sin) of angleInRadians expressed in radians.

Tan

Returns the tangent (Tan) of angleInRadians.

Notes 

  • All trigonometric functions use radians as the unit of measure. Once you have a result, you can convert the radians into degrees using the Degrees function.
  • The return values of all trigonometric functions except Degrees, Pi, and Radians are valid only up to 15 decimal places even if you use the SetPrecision function to specify greater precision.