COS

Returns the cosine of an expression that represents a numerical value.

Format

COS (x)

Argument

 
x
Any valid expression that evaluates to a real number.

Example

The following function returns the cosine of 2**TIME, where TIME is the current simulation time:
COS(2**TIME)