Difference between revisions of "ApCoCoA-1:Fn.TanN"
From ApCoCoAWiki
S schuster (talk | contribs) (New page: <command> <title>Fn.TanN</title> <short_description>Returns the tangent of a given value with a given accuracy.</short_description> <syntax> Fn.TanN(Val:RAT,Acc:INT):RAT </syntax> <des...) |
S schuster (talk | contribs) |
||
Line 6: | Line 6: | ||
</syntax> | </syntax> | ||
<description> | <description> | ||
− | This function returns the tangent of <tt> | + | This function returns the tangent of <tt>Val</tt> rounded to the given |
accuracy <tt>Acc</tt>. | accuracy <tt>Acc</tt>. | ||
Line 12: | Line 12: | ||
<item>@param <em>Val</em> Value of which to compute the sine.</item> | <item>@param <em>Val</em> Value of which to compute the sine.</item> | ||
<item>@param <em>Acc</em> The desired accuracy.</item> | <item>@param <em>Acc</em> The desired accuracy.</item> | ||
− | <item>@return The sine of <tt> | + | <item>@return The sine of <tt>Val</tt> rounded to the given accuracy <tt>Acc</tt>.</item></itemize> |
<example> | <example> | ||
R := Fn.TanN(1, 30); | R := Fn.TanN(1, 30); |
Revision as of 11:58, 4 May 2011
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 -------------------------------