Difference between revisions of "Manuals/calci/DSIN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''DCOSEC(x)'''</div><br/>
 +
* where '''x''' is the angle in Radians
 +
* by default Calci use Radian as angle
 +
[[Manuals/calci/COSEC| COSEC]] can be used if the angle is in Radians.
  
'''DSIN'''(n)
+
==Description==
 +
*This function is used to obtain the Cosecant value of 'x' in degrees.<br/>
 +
*It is the reciprocal of SIN function i.e, '''COSEC(x) = 1 / SIN(x)'''.<br/>
 +
*In a right angled triangle '''COSEC(x) = Hypotenuse / Opposite side'''.<br/>
 +
*To obtain the value in Radians multiply with PI()/180 or use COSEC function COSEC(X)
 +
*DCOSEC returns NaN if 'x' is not real
 +
The angle can be a single value or any complex array of values.
  
where
+
The following example shows how DCOSEC is applied to an array of numbers containing numbers 1..10.
 +
*Type =1..10@DCOSEC in Calci
 +
*Type =1..10@DCOSEC or 1..10@DCOSEC in ZOS
  
'''n '''is the angle in degrees.
+
{| class="wikitable"
 +
|-
 +
! Number !! DCOSEC
 +
|-
 +
| 1 || 57.2986884985501
 +
|-
 +
| 2 || 28.65370835
 +
|-
 +
| 3 || 19.10732261
 +
|-
 +
| 4 ||  14.33558703
 +
|-
 +
| 5 || 11.47371325
 +
|-
 +
| 6 || 9.566772234
 +
|-
 +
| 7 || 8.205509048
 +
|-
 +
| 8 || 7.185296534
 +
|-
 +
| 9 || 6.392453221
 +
|-
 +
| 10 || 5.758770483
 +
|}
  
</div>
+
== Examples ==
----
+
'''DCOSEC(x)'''
<div id="1SpaceContent" class="zcontent" align="left">
+
*'''x  ''' is the angle in Radians.
 +
* Result shows DCOSEC(abc)= NAN
  
DSIN returns the double-precision real sine of its double-precision real argument.
+
{|id="TABLE1" class="SpreadSheet blue"
  
</div>
+
|- class="even"
----
+
|'''DCOSEC(Radian)'''
<div id="7SpaceContent" class="zcontent" align="left">
+
|'''Value'''
  
DSIN returns NaN if n is not real
+
|- class="odd"
 +
| DCOSEC(0)
 +
| infinity
  
</div>
+
|- class="even"
----
+
| DCOSEC(1)
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
+
| 57.298688498550185
  
DSIN
+
|- class="odd"
 +
| DCOSEC(90)
 +
| 1
  
</div></div>
+
|}
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
  
Lets see an example in (Column2Row1)
+
==See Also==
  
<nowiki>=DSIN(Column1Row1)</nowiki>
+
*[[Manuals/calci/COSEC | COSEC]]
 +
*[[Manuals/calci/SIN | SIN]]
 +
*[[Manuals/calci/ASIN| ASIN]]
  
Returns 0.707107 for DSIN(45)
+
==References==
 
 
Consider another example in (Column2Row2)
 
 
 
<nowiki>=DSIN(Column1Row2)</nowiki>
 
 
 
Returns NaN for DSIN("abc")
 
 
 
</div>
 
----
 
<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"
 
|+ Default Calci
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f  " | 45
 
| class="sshl_f" | 0.707107
 
| class="                    sshl_f" |
 
| class="sshl_f  sshl_f" | 0
 
|- class="even"
 
| class="  " | Row2
 
| class="  1 " | abc
 
| class="sshl_f" | NaN
 
| class=" sshl_f" |
 
| class="sshl_f  sshl_f" | 0
 
|- class="odd"
 
| Row3
 
| 0
 
| class="sshl_f 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>
 
| class="sshl_f" | 0
 
| class="sshl_f" | 0
 
|- class="even"
 
| Row4
 
| 0
 
| class="sshl_f" | 0
 
| class="sshl_f" | 0
 
| 0
 
|- class="odd"
 
| class=" " | Row5
 
| 0
 
| 0
 
| class="sshl_f" | 0
 
| 0
 
|- class="even"
 
| Row6
 
| 0
 
| 0
 
| class="sshl_f" | 0
 
| 0
 
|}
 
 
 
{|
 
| <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]
----
 

Revision as of 23:56, 3 November 2013

DCOSEC(x)


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

COSEC can be used if the angle is in Radians.

Description

  • This function is used to obtain the Cosecant value of 'x' in degrees.
  • It is the reciprocal of SIN function i.e, COSEC(x) = 1 / SIN(x).
  • In a right angled triangle COSEC(x) = Hypotenuse / Opposite side.
  • To obtain the value in Radians multiply with PI()/180 or use COSEC function COSEC(X)
  • DCOSEC returns NaN if 'x' is not real

The angle can be a single value or any complex array of values.

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

  • Type =1..10@DCOSEC in Calci
  • Type =1..10@DCOSEC or 1..10@DCOSEC in ZOS
Number DCOSEC
1 57.2986884985501
2 28.65370835
3 19.10732261
4 14.33558703
5 11.47371325
6 9.566772234
7 8.205509048
8 7.185296534
9 6.392453221
10 5.758770483

Examples

DCOSEC(x)

  • x   is the angle in Radians.
  • Result shows DCOSEC(abc)= NAN
DCOSEC(Radian) Value
DCOSEC(0) infinity
DCOSEC(1) 57.298688498550185
DCOSEC(90) 1

See Also

References