Manuals/calci/TAN

From ZCubes Wiki
Revision as of 03:10, 5 November 2013 by Abin (talk | contribs)
Jump to navigation Jump to search
TAN(x)


  • where x is the angle in Radians
  • by default, Calci use angle in Radians

DTAN can be used if the angle is in degrees.

The angle can be a single value or any complex array of values.

For example TAN(1..100) can give an array of the results, which is the TAN value for each of the elements in the array. The array could be of any shape.

Description

Consider     x = 0    then     =TAN(RADIANS(90))    gives    0

  • This function gives the Tangent of 'x'.
  • In a right angled triangle, TAN = Opposite / Adjacent or SIN / COS.
  • By default, Calci takes the angle in Radians.
  • To convert Radian to Degree, multiply with 180/PI() or we have to use the Radians function like TAN(RADIANS(x)) or DTAN(x)

The following example shows how TAN is applied to an array of numbers containing numbers 1..10.

1..10@TAN

Number TAN
1 1.55740772465
2 -2.18503986326
3 -0.14254654307
4 1.15782128235
5 -3.38051500625
6 -0.29100619138
7 0.87144798272
8 -6.79971145522
9 -0.45231565944
10 0.64836082745

Examples

TAN(x)

  • x   is the angle in radians.
TAN(Radian) Value
TAN(0) 0
TAN(1) 1.55740772465
TAN(90) -1.99520041221


See Also

References