You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This function returns the trigonometric tangent of angle x expressed in radians.

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

Syntax
tan(number x) #Output: Number
Examples
Parser expressionDescription
tan(-pi/4)
This example returns 1
abs(0)
This example returns 0
Additional information

Parameters used in this function

ParameterInput (data type)Description
x

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