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

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

Revision as of 16:12, 2 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