120
cosh()
PURPOSE
: Returns the value of hyperbolic cosine (parameter).
FORMAT
: double cosh(x) double x;
PARAMETERS
: x must be within the [-230.2585092, +230.2585092] range.
EXPLANATION
:
1. The mathematical formula for hyperbolic cosine is:
cosh(x) = (e
x
+ e
-x
) / 2 where e is 2.7182818284590452353602874713526...
2. The returned value is in the [-1, 5x10
99
[ range.
SEE
: acosh(), log()
exp()
PURPOSE
: Returns the value of e
(parameter)
.
FORMAT
: double exp(x) double x;
PARAMETERS
: x must be within the [-230.2585092, +230.2585092] range.
EXPLANATION
:
1. The value of e is 2.7182818284590452353602874713526...
2. The returned value is in the ]0, 10
100
[ range.
SEE
: log()
log()
PURPOSE
: Returns the natural logarithm of the parameter
FORMAT
: double log(x) double x;
PARAMETERS
: x must be within the ]10
-100
, 10
100
[ range.
EXPLANATION
:
1. The returned value is in the [-230.2585092, +230.2585092] range.
2. log() is the inverse function of exp():
For any positive x, exp(log(x))#x.
SEE
: exp()
log10()
PURPOSE
: Returns the common logarithm of the parameter
FORMAT
: double log10(x) double x;
PARAMETERS
: x must be within the ]10
-100
, 10
100
[ range.
EXPLANATION
: The returned value is in the ]-100, +100[ range.
SEE
: log()