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

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

Returns the arctangent of a given value.

Syntax

Fn.ArcTan(X:RAT):RAT

Description

This function returns the arctangent of X rounded to the current

global accuracy.

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

  • @return The arctangent of X rounded to the current global accuracy.

Example

Fn.SetAccuracy(20);
R := Fn.ArcTan(1/2);
Dec(R, 30);

0.46364760900080611621
-------------------------------

Fn.ArcTanN

Fn.SetAccuracy

Fn.GetAccuracy