Difference between revisions of "Manuals/calci/COTAN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''COTAN'''(n) where '''n '''is the angle in radian. </div> ---- <div id="1SpaceContent" class="zconte...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''COT(x)'''</div><br/>
 +
* where '''x''' is in Radians
 +
* by default Calci use Radian as angle
  
'''COTAN'''(n)
+
[[Manuals/calci/DCOT | DCOT]] can be used if the angle is in degrees.
  
where
+
The angle can be a single value or any complex array of values.
  
'''n '''is the angle in radian.
+
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.  
  
</div>
+
==Description==
----
+
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/>
<div id="1SpaceContent" class="zcontent" align="left">
+
*This function gives the Cotangent of 'x'.
 +
*In a right angled triangle, '''COT = Adjacent Side / Opposite side''' or '''COS / SIN'''.<br/>
 +
*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)
  
COTAN function determines the cotangent of the given angle.<br />
+
The following example shows how TAN is applied to an array of numbers containing numbers 1..10.
  
</div>
+
1..10@TAN
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
COTAN returns NaN if n is not real
+
{| class="wikitable"
 +
|-
 +
! 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
 +
|}
  
</div>
+
== Examples ==
----
+
'''TAN(x)'''
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
+
*'''x  ''' is the angle in radians.
  
COTAN
+
{|id="TABLE1" class="SpreadSheet blue"
  
</div></div>
+
|- class="even"
----
+
|'''TAN(Radian)'''
<div id="8SpaceContent" class="zcontent" align="left">
+
|'''Value'''
  
Lets see an example in (Column2Row1)
+
|- class="odd"
 +
| TAN(0)
 +
| 0
  
<nowiki>=COTAN(Column1Row1)</nowiki>
+
|- class="even"
 +
| TAN(1)
 +
| 1.55740772465
  
Returns 0.61737 for COTAN(45)
+
|- class="odd"
 +
|TAN(90)
 +
| -1.99520041221
  
Consider another example in (Column2Row2)
+
|}
  
<nowiki>=COTAN(Column1Row2)</nowiki>
 
  
Returns NaN for COTAN("abc")
+
==See Also==
  
</div>
+
*[[Manuals/calci/DTAN | DTAN]]
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
  
{| id="TABLE3" class="SpreadSheet blue"
+
*[[Manuals/calci/ATAN | ATAN]]
|+ Default Calci
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 45
 
| class="sshl_f" | 0.61737
 
| class="          sshl_f  sshl_f" |
 
| class="                                                          sshl_f  sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="      SelectTD1 ChangeBGColor SelectTD1" |
 
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>abc
 
| class="sshl_f" | NaN
 
| class=" sshl_f" |
 
| class="sshl_f  sshl_f" |
 
|- class="odd"
 
| Row3
 
| class="sshl_f  " |
 
| class="                      sshl_f  sshl_f      " |
 
| class="sshl_f  " |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="      " |
 
| class=" sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
| class=" sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
| class="sshl_f" |
 
|
 
|}
 
  
{|
+
==References==
| <span align="left">[[Image:calci1.gif]]</span>
 
|
 
|
 
[[Image:bold.gif]]
 
|
 
[[Image:italic.gif]]
 
|
 
[[Image:normal.gif]]
 
|
 
[[Image:underline.gif]]
 
|
 
[[Image:border.gif]]
 
|
 
[[Image:numbers.gif]]
 
|
 
[[Image:sort.gif]]
 
|
 
[[Image:formatcells.gif]]
 
|
 
[[Image:graphs.gif]]
 
| $
 
|}
 
  
</div>
+
*[http://en.wikipedia.org/wiki/Trigonometric_functions List of Trigonometric Functions]
----
+
*[http://en.wikipedia.org/wiki/Sine TAN]

Revision as of 02:53, 4 November 2013

COT(x)


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

DCOT 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, COT = 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 DCOT(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