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

From ApCoCoAWiki
(New page: <command> <title>Fn.TanN</title> <short_description>Returns the tangent of a given value with a given accuracy.</short_description> <syntax> Fn.TanN(Val:RAT,Acc:INT):RAT </syntax> <des...)
 
m (insert version info)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.TanN</title>
 
   <title>Fn.TanN</title>
Line 6: Line 7:
 
</syntax>
 
</syntax>
 
<description>
 
<description>
This function returns the tangent of <tt>X</tt> rounded to the given
+
This function returns the tangent of <tt>Val</tt> rounded to the given
 
accuracy <tt>Acc</tt>.
 
accuracy <tt>Acc</tt>.
  
Line 12: Line 13:
 
<item>@param <em>Val</em> Value of which to compute the sine.</item>
 
<item>@param <em>Val</em> Value of which to compute the sine.</item>
 
<item>@param <em>Acc</em> The desired accuracy.</item>
 
<item>@param <em>Acc</em> The desired accuracy.</item>
<item>@return The sine of <tt>X</tt> rounded to the given accuracy <tt>Acc</tt>.</item></itemize>
+
<item>@return The sine of <tt>Val</tt> rounded to the given accuracy <tt>Acc</tt>.</item></itemize>
 
<example>
 
<example>
 
R := Fn.TanN(1, 30);
 
R := Fn.TanN(1, 30);
Line 22: Line 23:
 
</example>
 
</example>
 
</description>
 
</description>
<see> Fn.Tan</see>
+
<see>ApCoCoA-1:Fn.Tan|Fn.Tan</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.TanN</key>
 
<key>Fn.TanN</key>
<key>apcocoa/elemfns.TanN</key>
+
<key>elemfns.TanN</key>
 
<key>TanN</key>
 
<key>TanN</key>
<wiki-category>Package_elemfns</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_elemfns</wiki-category>
 
</command>
 
</command>

Latest revision as of 10:06, 7 October 2020

This article is about a function from ApCoCoA-1.

Fn.TanN

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

Syntax

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

Description

This function returns the tangent of Val rounded to the given

accuracy Acc.

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

  • @param Acc The desired accuracy.

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

Example

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

1.557407724654902230506974807458
-------------------------------

Fn.Tan

Fn.SetAccuracy

Fn.GetAccuracy