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

From ApCoCoAWiki
(New page: <command> <title>Fn.Tan</title> <short_description>Returns the tangent of a given value.</short_description> <syntax> Fn.Tan(X:RAT):RAT </syntax> <description> This function returns th...)
 
Line 26: Line 26:
 
<see>  Fn.GetAccuracy</see>
 
<see>  Fn.GetAccuracy</see>
 
<key>Fn.Tan</key>
 
<key>Fn.Tan</key>
<key>apcocoa/elemfns.Tan</key>
+
<key>elemfns.Tan</key>
 
<key>Tan</key>
 
<key>Tan</key>
 
<wiki-category>Package_elemfns</wiki-category>
 
<wiki-category>Package_elemfns</wiki-category>
 
</command>
 
</command>

Revision as of 14:25, 4 May 2011

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