#### Tan

##### Tan(number)

Returns a number specifying the tangent of an angle given in radians. It takes a right-angle triangle, and returns the length of the side opposite the specified angle divided by the length of the side adjacent to the angle.

Parameter

number - An angle in the form of number of radians.

Return value

Number value.

Examples

- `tan(1)` - Returns 1.5574 (rounded to 4 decimals). This is the tangent of 1 radian.
- `tan(45 * pi / 180)` - Returns 1.0. This is the tangent of 45 degrees. Before taking the tangent, the angle is first converted to radians by multiplying it with pi/180.