tan()
PURPOSE: Returns the value of tangent (parameter).
FORMAT: double tan(x) double x;
PARAMETERS: x must be within the ]-1440°, +1440°[ or [-8π , 8π Radians ] range.
EXPLANATION:
1. The unit of the parameter x is specified using the angle() function.
2. x must be different from 90° or 270° (π/2 or 3π/2 Radians).
3. The returned value is in the ]-1x10
100
, 10
100
[ range.
SEE: angle(), atan()
tanh()
PURPOSE: Returns the value of hyperbolic tangent (parameter).
FORMAT: double tanh(x) double x;
PARAMETERS: x must be within the ]-1x10
100
, 10
100
[ range.
EXPLANATION:
1. The mathematical formula for hyperbolic tangent is :
tanh(x) = (e
x
- e
-x
) / (e
x
+ e
-x
) where e is 2.71828182845904523536028747...
2. The returned value is in the ]-1, 1[ range.
SEE: atanh(), log()