ApCoCoA-1:Fn.Tan

From ApCoCoAWiki
Revision as of 10:06, 7 October 2020 by AndraschkoBot (talk | contribs) (insert version info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article is about a function from ApCoCoA-1.

Fn.Tan

Returns the tangent of a given value.

Syntax

Fn.Tan(X:RAT):RAT

Description

This function returns the tangent of X rounded to the current

global accuracy.

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

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

Example

Fn.SetAccuracy(20);
R := Fn.Tan(1);
Dec(R, 30);

1.55740772465490223051
-------------------------------

Fn.TanN

Fn.SetAccuracy

Fn.GetAccuracy