Difference between revisions of "Manuals/calci/COTAN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''COT(x)'''</div><br/>
+
<div style="font-size:30px">'''COTAN(x)'''</div><br/>
 
* where '''x''' is in Radians
 
* where '''x''' is in Radians
 
* by default Calci use Radian as angle
 
* by default Calci use Radian as angle
  
[[Manuals/calci/DCOT | DCOT]] 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.
Line 12: Line 12:
 
Consider &nbsp;&nbsp;&nbsp; '''x = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=COT(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''1''' <br/>
 
Consider &nbsp;&nbsp;&nbsp; '''x = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=COT(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''1''' <br/>
 
*This function gives the Cotangent of 'x'.
 
*This function gives the Cotangent of 'x'.
*In a right angled triangle, '''COT = Adjacent Side / Opposite side''' or '''COS / SIN'''.<br/>
+
*In a right angled triangle, '''COTAN = Adjacent Side / Opposite side''' or '''COS / SIN'''.<br/>
 
*By default, Calci takes the angle in Radians.
 
*By default, Calci takes the angle in Radians.
*To convert Degree to Radian, multiply with PI()/180 or we have to use the Degree function like DCOT(x)
+
*To convert Degree to Radian, multiply with PI()/180 or we have to use the Degree function like DCOTAN(x)
  
The following example shows how TAN is applied to an array of numbers containing numbers 1..10.
+
The following example shows how COTAN is applied to an array of numbers containing numbers 1..10.
  
1..10@TAN
+
1..10@COTAN
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Number !! TAN
+
! Number !! COTAN
 
|-
 
|-
| 1 || 1.55740772465
+
| 1 || 0.642092616
 
|-
 
|-
| 2 || -2.18503986326
+
| 2 || -0.457657554
 
|-
 
|-
| 3 || -0.14254654307
+
| 3 || -7.015252551
 
|-
 
|-
| 4 || 1.15782128235
+
| 4 || 0.863691154
 
|-
 
|-
| 5 ||-3.38051500625
+
| 5 ||-0.295812916
 
|-
 
|-
| 6 || -0.29100619138
+
| 6 || -3.436353004
 
|-
 
|-
| 7 || 0.87144798272
+
| 7 || 1.147515422
 
|-
 
|-
| 8 || -6.79971145522
+
| 8 || -0.147065064
 
|-
 
|-
| 9 || -0.45231565944
+
| 9 || -2.210845411
 
|-
 
|-
| 10 || 0.64836082745
+
| 10 || 1.542351045
 
|}
 
|}
  
 
== Examples ==
 
== Examples ==
'''TAN(x)'''
+
'''COTAN(x)'''
 
*'''x  ''' is the angle in radians.
 
*'''x  ''' is the angle in radians.
 +
*COTAN(-x)=-COTAN(x)
  
 
{|id="TABLE1" class="SpreadSheet blue"
 
{|id="TABLE1" class="SpreadSheet blue"
  
 
|- class="even"
 
|- class="even"
|'''TAN(Radian)'''
+
|'''COTAN(Radian)'''
 
|'''Value'''
 
|'''Value'''
  
 
|- class="odd"
 
|- class="odd"
| TAN(0)
+
| COTAN(0)
 
| 0
 
| 0
  
 
|- class="even"
 
|- class="even"
| TAN(1)
+
| COTAN(1)
 
| 1.55740772465
 
| 1.55740772465
  
|- class="odd"
+
| - class="odd"
|TAN(90)
+
| COTAN(90)
 
| -1.99520041221
 
| -1.99520041221
  
Line 72: Line 73:
 
==See Also==
 
==See Also==
  
*[[Manuals/calci/DTAN | DTAN]]
+
*[[Manuals/calci/DCOTAN | DCOTAN]]
  
 
*[[Manuals/calci/ATAN | ATAN]]
 
*[[Manuals/calci/ATAN | ATAN]]

Revision as of 04:00, 4 November 2013

COTAN(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 COT(1..100) can give an array of the results, which is the COT value for each of the elements in the array. The array could be of any shape.

Description

Consider     x = 90    then     =COT(RADIANS(90))    gives    1

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

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

1..10@COTAN

Number COTAN
1 0.642092616
2 -0.457657554
3 -7.015252551
4 0.863691154
5 -0.295812916
6 -3.436353004
7 1.147515422
8 -0.147065064
9 -2.210845411
10 1.542351045

Examples

COTAN(x)

  • x   is the angle in radians.
  • COTAN(-x)=-COTAN(x)
COTAN(Radian) Value
COTAN(0) 0
COTAN(1) 1.55740772465 - class="odd" COTAN(90) -1.99520041221


See Also

References