[back] [prev] [next] [index] [root]

 


Tan

Returns the tangent of a number.

Syntax:

y := Tan(x);

complex
  y  
complex
  x  

See also:  Sin, Cos

Description:

Given an x\inC\setminus { k\pi+\pi/2 : k\inZ} (in radians) the function returns the tangent of x. The computation is done in the current precision of the real (complex) field.


Example:


kash> Tan(1);
1.557407724654902230506974807458360173087250772381
kash> i := Comp(0, 1);
1*i
kash> Tan(i);
> 0.761594155955764888119458282604793590412768597257912*i


<- back[back] [prev] [next] [index] [root]