tan

Returns tangent of the specified number.

Syntax

tan(x)

Parameters

Parameter

Type

Description

x

number

Numeric value (tangent parameter in radians)

Return

Returns tangent of x.

Examples

Python

import math
y = math.tan(1)

NexScript

y = tan(1)