# Difference between revisions of "COS"

From Macros Wiki

Line 1: | Line 1: | ||

{{Command|syntax=[[Image:cos.png|right|COS]]COS <n> | {{Command|syntax=[[Image:cos.png|right|COS]]COS <n> | ||

− | |description=:Returns the cosine value of the input. | + | |description=:Returns the cosine value of the input, to view the result use [[DEBUG|debug]]. |

|param1=<n>|param1_desc={{n}} | |param1=<n>|param1_desc={{n}} |

## Revision as of 13:16, 22 July 2010

### Command

- COS <n>

- Returns the cosine value of the input, to view the result use debug.

### Parameters

- <n>
- Anything that evaluates to a number. This can be a variable, a number, another function, or an expression which includes numbers, variables and/or functions.

- For example:

- 123
- r1
- r2 + r3
- (r1 + (abs(a1 * a2) / (b3 * 62)))

### Example

- COS(14)