John Smith
john@example.com
---
title: "cos"
excerpt: "Computes the sine of a number (in radians)."
layout: manual
Computes the sine of a number (in radians).
```js
cos(num: number) -> number
```
### Tags
* `math`
### Examples
const anotherVar = cos(2 * pi())
### Arguments
* `num`: `number` (REQUIRED)
### Returns
`number`