Difference between revisions of "Manuals/calci/TAN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
The angle can be a single value or any complex array of values.
 
The angle can be a single value or any complex array of values.
  
For example SIN(1..100) can give an array of the results, which is the SIN value for each of the elements in the array. The array could be of any shape.  
+
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==
 
==Description==
 
Consider &nbsp;&nbsp;&nbsp; '''x = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=TAN(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''1''' <br/>
 
Consider &nbsp;&nbsp;&nbsp; '''x = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=TAN(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''1''' <br/>
* TAN function determines the sine of the given angle.
+
* TAN function determines the sine of the given angle. <br/>
 +
TAN(60)=0.320040389379563 <br/>
 +
TAN(45)=1.619775190543862 <br/>
 +
TAN(-45)=-1.619775190543862 <br/>
 +
Because TAN(-x)=-TAN(X) <br/>
 +
TAN(RADIANS(45))=0.999999999  that is similar  to 1. <br/>
  
 
The following example shows how TAN is applied to an array of numbers containing numbers 1..10.
 
The following example shows how TAN is applied to an array of numbers containing numbers 1..10.
Line 58: Line 63:
 
|- class="even"
 
|- class="even"
 
| TAN(1)
 
| TAN(1)
| 0.8414709848
+
| 1.55740772465
  
 
|- class="odd"
 
|- class="odd"
 
|TAN(90)
 
|TAN(90)
|0.8939966636
+
|-1.99520041221
  
 
|}
 
|}

Revision as of 05:18, 30 October 2013

TAN(x)


  • where x is in Radians
  • by default Calci use Radian as angle

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 = 90    then     =TAN(RADIANS(90))    gives    1

  • TAN function determines the sine of the given angle.

TAN(60)=0.320040389379563
TAN(45)=1.619775190543862
TAN(-45)=-1.619775190543862
Because TAN(-x)=-TAN(X)
TAN(RADIANS(45))=0.999999999 that is similar to 1.

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)


See Also

References