ApCoCoA-1:Fn.Sin

From ApCoCoAWiki
Revision as of 16:11, 2 October 2020 by AndraschkoBot (talk | contribs) (Bot: Category moved)

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