g.js — graphical objects for JavaScript

tantan

Calculate the trigonometric tangens of an angle.

The tangens of 1:

g.tan(1);

Parameter

  • v: The input value.

See Also

  • sin: Calculate the trigonometric sine of an angle.
  • cos: Calculate the trigonometric cosine of an angle.