Difference between revisions of "ApCoCoA-1:Fn.ArcCos"

From ApCoCoAWiki
(New page: <command> <title>Fn.ArcCos</title> <short_description>Returns the arccosine of a given value.</short_description> <syntax> Fn.ArcCos(X:RAT):RAT </syntax> <description> This function re...)
 
Line 27: Line 27:
 
<see>  Fn.GetAccuracy</see>
 
<see>  Fn.GetAccuracy</see>
 
<key>Fn.ArcCos</key>
 
<key>Fn.ArcCos</key>
<key>apcocoa/elemfns.ArcCos</key>
+
<key>elemfns.ArcCos</key>
 
<key>ArcCos</key>
 
<key>ArcCos</key>
 
<wiki-category>Package_elemfns</wiki-category>
 
<wiki-category>Package_elemfns</wiki-category>
 
</command>
 
</command>

Revision as of 13:41, 4 May 2011

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