Difference between revisions of "Ln"
m (→Examples) |
m |
||
Line 20: | Line 20: | ||
:Ln(0) &rarr -[[INF]] | :Ln(0) &rarr -[[INF]] | ||
:Ln(-1) &rarr [[NaN]] { With Warning: Logarithm of a non-positive number } | :Ln(-1) &rarr [[NaN]] { With Warning: Logarithm of a non-positive number } | ||
+ | |||
+ | = Base b Logarithms = | ||
+ | |||
+ | The base-''b'' logarithm of «x» is given by: | ||
+ | :Ln(x) / Ln(b) | ||
+ | |||
+ | For example: | ||
+ | :Ln(1024) / Ln(2) → 10 | ||
+ | is the base-2 logarithm of 1024, since 1024 = 2<sup>10</sup> | ||
= See Also = | = See Also = |
Revision as of 23:58, 20 September 2009
Ln(x)
The natural logarithm of «x». This is the value y such that ey=Exp(y)=x, where e2.718281828459045 is Euler's number.
«x» must be non-negative or a warning will be issued. If the warning is ignored, or Show Result Warnings is off, the result is NaN.
Library
Math functions
Examples
- Ln(1) → 0
- Ln(2) → 0.6931471805599453
- Ln(2.718) → 0.999896315728952
- Ln(1/2.718) → -0.999896315728952
- Ln(0) &rarr -INF
- Ln(-1) &rarr NaN { With Warning: Logarithm of a non-positive number }
Base b Logarithms
The base-b logarithm of «x» is given by:
- Ln(x) / Ln(b)
For example:
- Ln(1024) / Ln(2) → 10
is the base-2 logarithm of 1024, since 1024 = 210
See Also
Comments
<comments />
Enable comment auto-refresher