Calculates the tangent of any expression.
TAN(val)
val |
- |
A scalar, series or table. |
A scalar, series, or table.
tan(-2*pi..pi/100..2*pi);gridhv;griddot;sety(-5,5)
displays the tangent from -2π to 2π.
tan(pi/4)
returns 1.
tan(-2..0.1..2)
returns a 41 point series.
The hyperbolic secant is defined as:
for all complex z.
The function calculates in radians unless degrees are specified with the SETDEGREE function.