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

From ApCoCoAWiki
(New page: <command> <title>Fn.ArcTanN</title> <short_description>Returns the arctangent of a given value with a given accuracy.</short_description> <syntax> Fn.ArcTanN(Val:RAT,Acc:INT):RAT </syn...)
 
m (insert version info)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.ArcTanN</title>
 
   <title>Fn.ArcTanN</title>
Line 22: Line 23:
 
</example>
 
</example>
 
</description>
 
</description>
<see> Fn.ArcTan</see>
+
<see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see>
<see>  Fn.SetAccuracy</see>
+
<see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see>
<see> Fn.GetAccuracy</see>
 
 
<key>Fn.ArcTanN</key>
 
<key>Fn.ArcTanN</key>
<key>apcocoa/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>

Latest revision as of 10:01, 7 October 2020

This article is about a function from ApCoCoA-1.

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