ln: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Added version.) |
Verisimilar (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
|version=1.3b36 | |version=1.3b36 | ||
|description= | |description= | ||
Returns the | Returns the ''exponent'' that the ''irrational constant''(approx. {{code|2.718281828}}) would have to be raised to in order to equal the parameter. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
ln(num) | |||
</source> | </source> | ||
'''Parameter''' | |||
* {{code|num}} - The {{code|number}} used with the ''irrational constant'' to calculate the ''exponent''. | |||
|example= | |example= | ||
Line 14: | Line 16: | ||
[r: ln(5)] | [r: ln(5)] | ||
</source> | </source> | ||
Returns 1.6094379124341002817999424223671667277812957763671875 | Returns: {{code|1.6094379124341002817999424223671667277812957763671875}} | ||
<source lang="mtmacro" line> | |||
[r: ln(23)] | |||
</source> | |||
Returns: {{code|3.13549421592914967504839296452701091766357421875}} | |||
|also= | |||
[[wp:Natural_logarithm|Natural logarithm]] | |||
}} | }} | ||
[[Category:Mathematical Function]] | [[Category:Mathematical Function]] |
Revision as of 08:27, 9 March 2009
ln() Function
• Introduced in version 1.3b36
Returns the exponent that the irrational constant(approx.
2.718281828
) would have to be raised to in order to equal the parameter.Usage
ln(num)
Parameter
num
- Thenumber
used with the irrational constant to calculate the exponent.
Example
[r: ln(5)]
Returns: 1.6094379124341002817999424223671667277812957763671875
[r: ln(23)]
3.13549421592914967504839296452701091766357421875