COS

Contents


cos returns the cosine of its parameter.

 

Syntax

   cos(num_exp)

 

Parameters

Element

Description

Restrictions

num_exp

Numeric Expression

-1e80<=num_exp<=1e80

 

Examples

   Y = cos(45)

 

Description and Comments

This function returns the cosine of the parameter expressed in the current angular mode.

cos is the inverse of the acos function.

The result is the Double type.

 

Associated Errors

Error

Description

ERMODE (10)

The parameter is not numeric.

ERDOM (50)

| num_exp | > 1e10

 

Associated Keywords

SIN - TAN - ASIN - ACOS - ATAN - ATAN2 - ANGLE - ADXMDA


CONTENTS


Copyright © Sage 1999 - 2007