Cos

Description:              This function returns the trigonometric cosine of an angle in radians.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      Cos(Angle)

Parameters:             Angle    { numeric }  { required }  { no default: }

                                                Any numeric expression giving the angle in radians.

Comments:               The returned value is a number in the range of -1.00 to +1.00. To convert an angle from degrees to radians multiply by π / 180 or (approximately) 0.0174533.

Example:

x = Cos(180 * π / 180);

The value of x will be - 1.

See Also:

ACos | ASin | ATan | Sin | Tan