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

From ApCoCoAWiki
m (Bot: Category moved)
m (fixed links to namespace ApCoCoA)
Line 22: Line 22:
 
</example>
 
</example>
 
</description>
 
</description>
<see>Fn.Tan</see>
+
<see>ApCoCoA-1:Fn.Tan|Fn.Tan</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.TanN</key>
 
<key>Fn.TanN</key>
 
<key>elemfns.TanN</key>
 
<key>elemfns.TanN</key>

Revision as of 08:17, 7 October 2020

Fn.TanN

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

Syntax

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

Description

This function returns the tangent of Val rounded to the given

accuracy Acc.

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

  • @param Acc The desired accuracy.

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

Example

R := Fn.TanN(1, 30);
Dec(R, 40);

1.557407724654902230506974807458
-------------------------------

Fn.Tan

Fn.SetAccuracy

Fn.GetAccuracy