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

From ApCoCoAWiki
Line 22: Line 22:
 
</example>
 
</example>
 
</description>
 
</description>
<see> Fn.Sin</see>
+
<see>Fn.Sin</see>
<see> Fn.SetAccuracy</see>
+
<see>Fn.SetAccuracy</see>
<see> Fn.GetAccuracy</see>
+
<see>Fn.GetAccuracy</see>
 
<key>Fn.SinN</key>
 
<key>Fn.SinN</key>
 
<key>elemfns.SinN</key>
 
<key>elemfns.SinN</key>

Revision as of 09:17, 5 May 2011

Fn.SinN

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

Syntax

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

Description

This function returns the sine 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.SinN(1, 30);
Dec(R, 40);

0.84147098480789650665250232163
-------------------------------

Fn.Sin

Fn.SetAccuracy

Fn.GetAccuracy