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...)
(No difference)

Revision as of 09:56, 4 May 2011

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 X rounded to the given

accuracy Acc.

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

  • @param Acc The desired accuracy.

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

Example

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

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

Fn.Tan

Fn.SetAccuracy

Fn.GetAccuracy