# cos(n)

Returns the cosine value of radians value *n*. *n* can be any real numeric value in the range of -1e308 <= *n* <= 1e308. If `null` is passed as an argument, `cos()` returns `null`. This function can only be used in a `foreach` statement.

## Example

```nolang
q = foreach q generate cos(radians) as cosine;
```
