Difference between revisions of "Manuals/calci/COTAN"
Jump to navigation
Jump to search
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''COTAN( | + | <div style="font-size:30px">'''COTAN(Number)'''</div><br/> |
− | * | + | * Number is the angle value in Radians. |
− | * by default Calci use Radian as angle | + | **COTAN() returns the cotangent of the given angle |
+ | * by default, Calci use Radian as angle | ||
− | [[Manuals/calci/DCOTAN | DCOTAN]] can be used if the angle is in | + | [[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 COTAN(1..100) can give an array of the results, which is the | + | For example COTAN(1..100) can give an array of the results, which is the COTAN 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 '''x = | + | Consider '''x = 45''' then '''=COTAN(RADIANS(45))''' gives '''1.0000000000000002''' that is approximate to '''1''' <br/> |
− | * | + | The above function gives the Cotangent of 'x' in Degree.<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 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 | + | *To convert Radians to Degrees multiply with 180/PI() or we have to use the Radians function COTAN(RADIANS(x)) or DCOTAN(x).<br/> |
− | + | *COTAN(RADIANS(90))= 6.123031769111886e-17 ie, approximately = 0. So for calculation we consider COTAN(RADIANS(90))=0 | |
− | The following example shows how COTAN is applied to an array of numbers containing | + | The following example shows how COTAN is applied to an array of numbers containing angles 1..10. |
1..10@COTAN | 1..10@COTAN | ||
Line 22: | Line 25: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! | + | ! Angles !! COTAN |
|- | |- | ||
| 1 || 0.642092616 | | 1 || 0.642092616 | ||
Line 69: | Line 72: | ||
|} | |} | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|Q7htxHDN8LE|280|center|Cotangent}} | ||
==See Also== | ==See Also== | ||
Line 79: | Line 86: | ||
*[http://en.wikipedia.org/wiki/Trigonometric_functions List of Trigonometric Functions] | *[http://en.wikipedia.org/wiki/Trigonometric_functions List of Trigonometric Functions] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 16:27, 18 June 2018
COTAN(Number)
- Number is the angle value in Radians.
- COTAN() returns the cotangent of the given angle
- 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 COTAN 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 = 45 then =COTAN(RADIANS(45)) gives 1.0000000000000002 that is approximate to 1
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 Side / Opposite side 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).
- COTAN(RADIANS(90))= 6.123031769111886e-17 ie, approximately = 0. So for calculation we consider COTAN(RADIANS(90))=0
The following example shows how COTAN is applied to an array of numbers containing angles 1..10.
1..10@COTAN
Angles | 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) | Infinity |
COTAN(1) | 0.642092615 |
COTAN(90) | -0.501202783 |
Related Videos
See Also
References