ApCoCoA-1:Fn.ArcCos

From ApCoCoAWiki
Revision as of 08:12, 7 October 2020 by AndraschkoBot (talk | contribs) (fixed links to namespace ApCoCoA)

Fn.ArcCos

Returns the arccosine of a given value.

Syntax

Fn.ArcCos(X:RAT):RAT

Description

This function returns the arccosine of X rounded to the current

global accuracy. The domain of this functions ranges between -1

and 1.

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

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

Example

Fn.SetAccuracy(20);
R := Fn.ArcCos(1/2);
Dec(R, 30);

1.04719755119659774615
-------------------------------

Fn.ArcCosN

Fn.SetAccuracy

Fn.GetAccuracy