Difference between revisions of "Manuals/calci/COT"

From ZCubes Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
* by default Calci use Radian as angle
 
* by default Calci use Radian as angle
  
[[Manuals/calci/DTAN | DTAN]] can be used if the angle is in degrees.  
+
[[Manuals/calci/DCOTAN | DCOTAN]] can be used if the angle is in degrees.  
  
 
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 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.  
+
For example COTAN(1..100) can give an array of the results, which is the COTANGENT value for each of the elements in the array. The array could be of any values either '+' or '-' like 1..5@COTAN or (-5)..(-1)@COTAN.  
 +
 
 +
  
 
==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;  '''=COTAN(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''6.123031769111886e-17'''that is approximately to '''0''' <br/>
*This function gives the tangent of 'x'.
+
The above function gives the Cotangent of 'x' in Degree.<br/>
*In a right angled triangle, '''TAN = Opposite / Adjacent''' or '''SIN / COS'''.<br/>
+
*Cotan function gives the Cotangent of angle 'x'.
 +
*This function is the reciprocal of TAN function. i.e, '''Cotan(x) = 1 / Tan(x)'''.
 +
*In a right angled triangle, '''COTAN = Adjacent/Opposite''' or '''COS / SIN'''.<br/>
 
*By default, Calci takes the angle in Radians.
 
*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))
+
*To convert Radians to Degrees  multiply with 180/PI() or we have to use the Radians function COTAN(RADIANS(x)) or DCOTAN(x).<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 angles 1..10.
  
 
1..10@TAN
 
1..10@TAN
Line 22: Line 27:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Number !! TAN
+
! Angles !! TAN
 
|-
 
|-
 
| 1 || 1.55740772465  
 
| 1 || 1.55740772465  

Revision as of 00:21, 6 November 2013

COT(x)


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

DCOTAN can be used if the angle is in degrees.

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

For example COTAN(1..100) can give an array of the results, which is the COTANGENT value for each of the elements in the array. The array could be of any values either '+' or '-' like 1..5@COTAN or (-5)..(-1)@COTAN.


Description

Consider     x = 90    then     =COTAN(RADIANS(90))    gives    6.123031769111886e-17that is approximately to 0
The above function gives the Cotangent of 'x' in Degree.

  • Cotan function gives the Cotangent of angle 'x'.
  • This function is the reciprocal of TAN function. i.e, Cotan(x) = 1 / Tan(x).
  • In a right angled triangle, COTAN = Adjacent/Opposite or COS / SIN.
  • By default, Calci takes the angle in Radians.
  • To convert Radians to Degrees multiply with 180/PI() or we have to use the Radians function COTAN(RADIANS(x)) or DCOTAN(x).


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

1..10@TAN

Angles 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