ApCoCoA-1:Fn.ArcCosN

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

Fn.ArcCosN

Returns the arccosine of a given value with a given accuracy.

Syntax

Fn.ArcCosN(Val:RAT,Acc:INT):RAT

Description

This function returns the arccosine of X rounded to the given

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

and 1.

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

  • @param Acc The desired accuracy.

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

Example

R := Fn.ArcCosN(1/2, 30);
Dec(R, 40);

1.047197551196597746154214461093
-------------------------------

Fn.ArcCos

Fn.SetAccuracy

Fn.GetAccuracy