Difference between revisions of "Manuals/calci/COTAN"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <div style="font-size:30px">''' | + | <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/ | + | [[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 '''x = 90''' then '''=COT(RADIANS(90))''' gives '''1''' <br/> | Consider '''x = 90''' then '''=COT(RADIANS(90))''' gives '''1''' <br/> | ||
*This function gives the Cotangent of 'x'. | *This function gives the Cotangent of 'x'. | ||
− | *In a right angled triangle, ''' | + | *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 | + | *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 | + | The following example shows how COTAN is applied to an array of numbers containing numbers 1..10. |
− | 1..10@ | + | 1..10@COTAN |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Number !! | + | ! Number !! COTAN |
|- | |- | ||
− | | 1 || | + | | 1 || 0.642092616 |
|- | |- | ||
− | | 2 || - | + | | 2 || -0.457657554 |
|- | |- | ||
− | | 3 || - | + | | 3 || -7.015252551 |
|- | |- | ||
− | | 4 || | + | | 4 || 0.863691154 |
|- | |- | ||
− | | 5 ||- | + | | 5 ||-0.295812916 |
|- | |- | ||
− | | 6 || - | + | | 6 || -3.436353004 |
|- | |- | ||
− | | 7 || | + | | 7 || 1.147515422 |
|- | |- | ||
− | | 8 || - | + | | 8 || -0.147065064 |
|- | |- | ||
− | | 9 || - | + | | 9 || -2.210845411 |
|- | |- | ||
− | | 10 || | + | | 10 || 1.542351045 |
|} | |} | ||
== Examples == | == Examples == | ||
− | ''' | + | '''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" | ||
− | |''' | + | |'''COTAN(Radian)''' |
|'''Value''' | |'''Value''' | ||
|- class="odd" | |- class="odd" | ||
− | | | + | | COTAN(0) |
| 0 | | 0 | ||
|- class="even" | |- class="even" | ||
− | | | + | | COTAN(1) |
| 1.55740772465 | | 1.55740772465 | ||
− | |- class="odd" | + | | - class="odd" |
− | | | + | | COTAN(90) |
| -1.99520041221 | | -1.99520041221 | ||
Line 72: | Line 73: | ||
==See Also== | ==See Also== | ||
− | *[[Manuals/calci/ | + | *[[Manuals/calci/DCOTAN | DCOTAN]] |
*[[Manuals/calci/ATAN | ATAN]] | *[[Manuals/calci/ATAN | ATAN]] |
Revision as of 03: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 |