tan()

Learn how to use the tan() function to return the tangent value of the specified number.

Returns the tangent value of the specified number.

Syntax

tan(x)

Parameters

NameTypeRequiredDescription
xreal✔️The number for which to calculate the tangent.

Returns

The result of tan(x)