ApCoCoA-1:Fn.ArcTan

From ApCoCoAWiki
Revision as of 11:56, 4 May 2011 by S schuster (talk | contribs) (New page: <command> <title>Fn.ArcTan</title> <short_description>Returns the arctangent of a given value.</short_description> <syntax> Fn.ArcTan(X:RAT):RAT </syntax> <description> This function r...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Fn.ArcTan

Returns the arctangent of a given value.

Syntax

Fn.ArcTan(X:RAT):RAT

Description

This function returns the arctangent of X rounded to the current

global accuracy.

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

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

Example

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

0.46364760900080611621
-------------------------------

Fn.ArcTanN

Fn.SetAccuracy

Fn.GetAccuracy