Difference between revisions of "ApCoCoA-1:Fn.LnN"

From ApCoCoAWiki
m (Bot: Category moved)
m (fixed links to namespace ApCoCoA)
Line 21: Line 21:
 
</example>
 
</example>
 
</description>
 
</description>
<see>Fn.LnN</see>
+
<see>ApCoCoA-1:Fn.LnN|Fn.LnN</see>
<see>Fn.Log</see>
+
<see>ApCoCoA-1:Fn.Log|Fn.Log</see>
<see>Fn.LogN</see>
+
<see>ApCoCoA-1:Fn.LogN|Fn.LogN</see>
<see>Fn.SetAccuracy</see>
+
<see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see>
<see>Fn.GetAccuracy</see>
+
<see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see>
 
<key>Fn.LnN</key>
 
<key>Fn.LnN</key>
 
<key>elemfns.LnN</key>
 
<key>elemfns.LnN</key>

Revision as of 08:14, 7 October 2020

Fn.LnN

Returns the natural logarithm of a given value with a given accuracy.

Syntax

Fn.LnN(Val:RAT,Acc:INT):RAT

Description

This function returns the natural logarithm of Val rounded to the given accuracy Acc.

  • @param Val The value of which to compute the natural logarithm.

  • @param Acc The desired accuracy.

  • @return The natural logarithm of Val rounded to accuracy Acc.

Example

R := Fn.LnN(5, 30);
Dec(R, 40);

1.609437912434100374600759333226
-------------------------------

Fn.LnN

Fn.Log

Fn.LogN

Fn.SetAccuracy

Fn.GetAccuracy