ApCoCoA-1:Fn.ArcTanN

From ApCoCoAWiki
Revision as of 11:56, 4 May 2011 by S schuster (talk | contribs) (New page: <command> <title>Fn.ArcTanN</title> <short_description>Returns the arctangent of a given value with a given accuracy.</short_description> <syntax> Fn.ArcTanN(Val:RAT,Acc:INT):RAT </syn...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Fn.ArcTanN

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

Syntax

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

Description

This function returns the arctangent of Val rounded to the given

accuracy Acc.

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

  • @param Acc The desired accuracy.

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

Example

R := Fn.ArcTanN(1/2, 30);
Dec(R, 40);

0.463647609000806116214256231461
-------------------------------

Fn.ArcTan

Fn.SetAccuracy

Fn.GetAccuracy