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

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

Revision as of 08:17, 7 October 2020

Fn.Sin

Returns the sine of a given value.

Syntax

Fn.Sin(X:RAT):RAT

Description

This function returns the sine of X rounded to the current

global accuracy.

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

  • @return The sine of X rounded to the current global accuracy.

Example

Fn.SetAccuracy(20);
R := Fn.Sin(1);
Dec(R, 30);

0.84147098480789650665
-------------------------------

Fn.SinN

Fn.SetAccuracy

Fn.GetAccuracy