Difference between revisions of "ApCoCoA:Fn.LnN"

From CoCoAWiki
(New page: <command> <title>Fn.LnN</title> <short_description>Returns the natural logarithm of a given value with a given accuracy.</short_description> <syntax> Fn.LnN(Val:RAT,Acc:INT):RAT </synt...)
(No difference)

Revision as of 15:40, 4 May 2011

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
-------------------------------

ApCoCoA: Fn.LnN

ApCoCoA: Fn.Log

ApCoCoA: Fn.LogN

ApCoCoA: Fn.SetAccuracy

ApCoCoA: Fn.GetAccuracy