ApCoCoA-1:Fn.Cos

From ApCoCoAWiki
Revision as of 10:01, 7 October 2020 by AndraschkoBot (talk | contribs) (insert version info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article is about a function from ApCoCoA-1.

Fn.Cos

Returns the cosine of a given value.

Syntax

Fn.Cos(X:RAT):RAT

Description

This function returns the cosine of X rounded to the current

global accuracy.

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

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

Example

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

0.5403023058681397174
-------------------------------

Fn.CosN

Fn.SetAccuracy

Fn.GetAccuracy