Difference between revisions of "Documentation/How Tos/Calc: LN function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
Line 3: Line 3:
 
== LN ==
 
== LN ==
 
Returns the natural logarithm of a number.  
 
Returns the natural logarithm of a number.  
 
  
 
=== Syntax: ===
 
=== Syntax: ===
Line 10: Line 9:
  
 
: The mathematical constant ''e'' is approximately <tt>'''2.71828182845904'''</tt>.
 
: The mathematical constant ''e'' is approximately <tt>'''2.71828182845904'''</tt>.
 
  
 
=== Example: ===
 
=== Example: ===
Line 18: Line 16:
 
<tt>'''LN(EXP(321))'''</tt>
 
<tt>'''LN(EXP(321))'''</tt>
 
: returns <tt>'''321'''</tt>.
 
: returns <tt>'''321'''</tt>.
 
  
 
=== See also: ===
 
=== See also: ===

Revision as of 06:35, 2 March 2008


LN

Returns the natural logarithm of a number.

Syntax:

LN(number)

returns the natural logarithm (the logarithm to base e) of number, that is the power of e necessary to equal number.
The mathematical constant e is approximately 2.71828182845904.

Example:

LN(3)

returns the natural logarithm of 3 (approximately 1.0986).

LN(EXP(321))

returns 321.

See also:

LOG, LOG10, EXP

Mathematical functions

Personal tools