TAN

BASin

TAN TANgent

Function

TAN gives the tangent of an angle.

How to use TAN

TAN is followed by a numeric value, for example

130 LET x=TAN Y

An expression must be enclosed in brackets. The value following TAN is the angle in radians, and TAN returns the tangent of the angle. Degrees may be converted to radians by multiplying by PI/180.

Note that TAN returns a positive value for angles between 0 and 90 degrees. For angles between 90 and 180 degrees and angles between 270 and 360 degrees, TAN returns a negative value.

Format

  • TAN num-const
  • TAN num-var
  • TAN (num-expr)

See also

Chapter 10.