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

From ApCoCoAWiki
m (insert version info)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.CosN</title>
 
   <title>Fn.CosN</title>
Line 22: Line 23:
 
</example>
 
</example>
 
</description>
 
</description>
<see>Fn.Cos</see>
+
<see>ApCoCoA-1:Fn.Cos|Fn.Cos</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.CosN</key>
 
<key>Fn.CosN</key>
 
<key>elemfns.CosN</key>
 
<key>elemfns.CosN</key>
 
<key>CosN</key>
 
<key>CosN</key>
<wiki-category>Package_elemfns</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_elemfns</wiki-category>
 
</command>
 
</command>

Latest revision as of 10:01, 7 October 2020

This article is about a function from ApCoCoA-1.

Fn.CosN

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

Syntax

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

Description

This function returns the cosine of Val rounded to the given

accuracy Acc.

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

  • @param Acc The desired accuracy.

  • @return The cosine of Val rounded to the given accuracy Acc.

Example

R := Fn.CosN(1, 30);
Dec(R, 40);

0.540302305868139717400936607443
-------------------------------

Fn.Cos

Fn.SetAccuracy

Fn.GetAccuracy