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

From ApCoCoAWiki
m (Bot: Category moved)
Line 27: Line 27:
 
<key>elemfns.ArcTanN</key>
 
<key>elemfns.ArcTanN</key>
 
<key>ArcTanN</key>
 
<key>ArcTanN</key>
<wiki-category>Package_elemfns</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_elemfns</wiki-category>
 
</command>
 
</command>

Revision as of 16:07, 2 October 2020

Fn.ArcTanN

Returns the arctangent of a given value with a given accuracy.

Syntax

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

Description

This function returns the arctangent of Val rounded to the given

accuracy Acc.

  • @param Val Value of which to compute the arctangent.

  • @param Acc The desired accuracy.

  • @return The arctangent of Val rounded to the given accuracy Acc.

Example

R := Fn.ArcTanN(1/2, 30);
Dec(R, 40);

0.463647609000806116214256231461
-------------------------------

Fn.SetAccuracy

Fn.GetAccuracy