This function returns the tangent of the given angle expressed in radians.

The input has to be different than k*pi/2 and -k*pi/2 with k being an odd number.

Syntax
tan(number) #Output: Number
Examples
Parser expressionDescription
tan(3.14/4)

This example returns:

0.9992039901050427


tan(0)

This example returns:

0.0

Additional information

Parameters used in this function

ParameterInput (data type)Description
number

NUMBER

Any given number different than k*pi/2 and -k*pi/2 with k being an odd number.
Output

This function returns a NUMBER


Use cases and examples