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

From ApCoCoAWiki
m (insert version info)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.Tan</title>
 
   <title>Fn.Tan</title>
Line 22: Line 23:
 
</example>
 
</example>
 
</description>
 
</description>
<see>Fn.TanN</see>
+
<see>ApCoCoA-1:Fn.TanN|Fn.TanN</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.Tan</key>
 
<key>Fn.Tan</key>
 
<key>elemfns.Tan</key>
 
<key>elemfns.Tan</key>
 
<key>Tan</key>
 
<key>Tan</key>
<wiki-category>Package_elemfns</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_elemfns</wiki-category>
 
</command>
 
</command>

Latest revision as of 10:06, 7 October 2020

This article is about a function from ApCoCoA-1.

Fn.Tan

Returns the tangent of a given value.

Syntax

Fn.Tan(X:RAT):RAT

Description

This function returns the tangent of X rounded to the current

global accuracy.

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

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

Example

Fn.SetAccuracy(20);
R := Fn.Tan(1);
Dec(R, 30);

1.55740772465490223051
-------------------------------

Fn.TanN

Fn.SetAccuracy

Fn.GetAccuracy