ApCoCoA-1:Fn.SinN

From ApCoCoAWiki
Revision as of 09:55, 4 May 2011 by S schuster (talk | contribs) (New page: <command> <title>Fn.SinN</title> <short_description>Returns the sine of a given value with a given accuracy.</short_description> <syntax> Fn.SinN(Val:RAT,Acc:INT):RAT </syntax> <descri...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 X rounded to the given

accuracy Acc.

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

  • @param Acc The desired accuracy.

  • @return The sine of X rounded to the given accuracy Acc.

Example

R := Fn.SinN(1, 30);
Dec(R, 40);

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

Fn.Sin

Fn.SetAccuracy

Fn.GetAccuracy