ApCoCoA-1:Fn.ArcCosN: Difference between revisions

From ApCoCoAWiki
S schuster (talk | contribs)
No edit summary
Stadler (talk | contribs)
No edit summary
Line 27: Line 27:
<see>  Fn.GetAccuracy</see>
<see>  Fn.GetAccuracy</see>
<key>Fn.ArcCosN</key>
<key>Fn.ArcCosN</key>
<key>apcocoa/elemfns.ArcCosN</key>
<key>elemfns.ArcCosN</key>
<key>ArcCosN</key>
<key>ArcCosN</key>
<wiki-category>Package_elemfns</wiki-category>
<wiki-category>Package_elemfns</wiki-category>
</command>
</command>

Revision as of 13:42, 4 May 2011

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 Val 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 Val rounded to the given accuracy Acc.

Example

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

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

Fn.ArcCos

Fn.SetAccuracy

Fn.GetAccuracy