ApCoCoA-1:Fn.ArcTan

From ApCoCoAWiki
Revision as of 08:59, 5 May 2011 by Stadler (talk | contribs)

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