tan()

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.


Bash
tan(number) #Output: Number


Examples

Parser expression

Description

Bash
tan(3.14/4)

This example returns:

0.9992039901050427

 

Bash
tan(0)

This example returns:

0.0

Additional information

Parameters used in this function

Parameter

Input (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