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

From ApCoCoAWiki
(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...)
 
m (insert version info)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.ArcCosN</title>
 
   <title>Fn.ArcCosN</title>
Line 6: Line 7:
 
</syntax>
 
</syntax>
 
<description>
 
<description>
This function returns the arccosine of <tt>X</tt> rounded to the given
+
This function returns the arccosine of <tt>Val</tt> rounded to the given
 
accuracy <tt>Acc</tt>. The domain of this functions ranges between -1
 
accuracy <tt>Acc</tt>. The domain of this functions ranges between -1
 
and 1.
 
and 1.
Line 13: Line 14:
 
<item>@param <em>Val</em> Value of which to compute the arccosine.</item>
 
<item>@param <em>Val</em> Value of which to compute the arccosine.</item>
 
<item>@param <em>Acc</em> The desired accuracy.</item>
 
<item>@param <em>Acc</em> The desired accuracy.</item>
<item>@return The arccosine of <tt>X</tt> rounded to the given accuracy <tt>Acc</tt>.</item></itemize>
+
<item>@return The arccosine of <tt>Val</tt> rounded to the given accuracy <tt>Acc</tt>.</item></itemize>
 
<example>
 
<example>
 
R := Fn.ArcCosN(1/2, 30);
 
R := Fn.ArcCosN(1/2, 30);
Line 23: Line 24:
 
</example>
 
</example>
 
</description>
 
</description>
<see> Fn.ArcCos</see>
+
<see>ApCoCoA-1:Fn.ArcCos|Fn.ArcCos</see>
<see> Fn.SetAccuracy</see>
+
<see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see>
<see> Fn.GetAccuracy</see>
+
<see>ApCoCoA-1:Fn.GetAccuracy|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>ApCoCoA-1:Package_elemfns</wiki-category>
 
</command>
 
</command>

Latest revision as of 10:00, 7 October 2020

This article is about a function from ApCoCoA-1.

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