TAN

Purpose:

Calculates the tangent of any expression.

Syntax:

TAN(val)

val

-

A scalar, series or table.

Returns:

A scalar, series, or table.

Example:

tan(-2*pi..pi/100..2*pi);gridhv;griddot;sety(-5,5)

 

 

image\tanpic01.gif

 

displays the tangent from -2π to 2π.

Example:

tan(pi/4)

 

returns 1.

Example:

tan(-2..0.1..2)

 

returns a 41 point series.

Remarks:

The hyperbolic secant is defined as:

 

image\tan01.gif

 

for all complex z.

 

image\tan02.gif

 

The function calculates in radians unless degrees are specified with the SETDEGREE function.

See Also:

ATAN

ATANH

COT

GTAN

TANH

SETDEGREE

SETRADIAN

TRIGONOMETRIC FUNCTIONS