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

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

Revision as of 13:43, 4 May 2011

Fn.ArcSin

Returns the arcsine of a given value.

Syntax

Fn.ArcSin(X:RAT):RAT

Description

This function returns the arcsine 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 arcsine.

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

Example

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

0.52359877559829887308
-------------------------------

Fn.ArcSinN

Fn.SetAccuracy

Fn.GetAccuracy