Table of Contents

ugBASIC User Manual

TAN ✓

SYNTAX

   = TAN([angle])

PURPOSE

This function will calculate the tangent value of an angle. It is the ratio of the opposite side and the adjacent side of the angle in consideration in a right-angled triangle.

EXAMPLE

  x = TAN(0)

See also the following example files:

ABBREVIATION

 Tn

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY