Difference between revisions of "Manuals/calci/COSEC"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''COSEC( | + | <div style="font-size:30px">'''COSEC(Number)'''</div><br/> |
− | * | + | * Number is the angle value in Radians. |
+ | **COSEC() returns the cosecant of the given angle. | ||
* by default, Calci use angle in Radians | * by default, Calci use angle in Radians | ||
Latest revision as of 16:23, 18 June 2018
COSEC(Number)
- Number is the angle value in Radians.
- COSEC() returns the cosecant of the given angle.
- by default, Calci use angle in Radians
DCOSEC can be used if the angle is in Degrees.
The angle can be a single value or any complex array of values.
For example COSEC(1..100) can give an array of the results, which is the COSEC value for each of the elements in the array. The array could be of any values either '+' or '-' like 1..5@COSEC or (-5)..(-1)@COSEC.
Description
Consider x = 90 then =COSEC(RADIANS(90)) gives 1
The above function gives the Cosecant of 'x' in Degree.
- Cosec function gives the Cosecant of angle 'x'.
- This function is the reciprocal of SIN function. i.e, Cosec(x) = 1 / Sin(x).
- In a right angled triangle Cosec(x) = Hypotenuse / Opposite side.
- Here x is in Radians.
- To convert Radians to Degrees multiply with 180/PI() or we have to use the Radians function COSEC(RADIANS(x)) or DCOSEC(x).
The following example shows how COSEC is applied to an array of numbers containing angles 1..10.
- Type =1..10@COSEC in Calci
- Type =1..10@COSEC or 1..10@COSEC in ZOS
Angles | COSEC |
---|---|
1 | 1.1883951057781212 |
2 | 1.0997501702946164 |
3 | 7.086167395737187 |
4 | -1.3213487088109024 |
5 | -1.0428352127714058 |
6 | -3.5788995472544056 |
7 | 1.5221010625637303 |
8 | 1.010756218400097 |
9 | 2.426486643551989 |
10 | -1.8381639608896658 |
Examples
COSEC(x)
- x is the angle in radians.
COSEC(Radian) | Value |
COSEC(0) | infinity |
COSEC(1) | 1.1883951057781212 |
COSEC(90) | 1.1185724071637084 |
Related Videos
See Also
References