Difference between revisions of "Manuals/calci/COS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''COS(n)
 +
'''</div><br/>
 +
* where '''n''' is angle in Radians
 +
* by default Calci use Radian as angle
  
Syntax
+
[[Manuals/calci/DSIN | DSIN]] can be used if the angle is in degrees.
  
</div></div>
+
The angle can be a single value or any complex array of values.
----
 
<div id="4SpaceContent" align="left"><div class="ZEditBox" align="justify">
 
  
Remarks
+
For example SIN(1..100) can give an array of the results, which is the SIN value for each of the elements in the array. The array could be of any shape.
  
</div></div>
+
==Description==
----
+
Consider &nbsp;&nbsp;&nbsp; '''n = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=SIN(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''1''' <br/>
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
* SIN function determines the sine of the given angle.
  
Examples
+
== Examples ==
 +
'''SIN(n)'''
 +
*'''n  ''' is the angle in radians.
  
</div></div>
+
{|id="TABLE1" class="SpreadSheet blue"
----
 
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
 
----
 
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
+
|- class="even"
 +
|'''SIN(Radian)'''
 +
|'''Value'''
  
</div></div>
+
|- class="odd"
----
+
| SIN(0)
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman"> <font size="6">COS</font> </font>'''</div></div>
+
| 0
----
 
<div id="3SpaceContent" class="zcontent" align="left"><br /><div id="7Space" class="gamizbox" title="7Space"><div id="7SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="7SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="7SpaceRollupContent" align="center"></span></span></div><div id="7SpaceCover"><div id="7SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
  
<font size="3"><font face="Times New Roman">COS(R)</font></font>
+
|- class="even"
 +
| SIN(1)
 +
| 0.8414709848
  
<font size="3"><font face="Times New Roman">'''Where R '''is the angle in the radians.</font></font>
+
|- class="odd"
 
+
|SIN(90)
</div></div>
+
|0.8939966636
----
 
<div id="13SpaceContent" class="zcontent" align="left"><br /><br /><div id="1Space" class="gamizbox" title="1Space"><div id="1SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="1SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="1SpaceRollupContent" align="center"></span></span></div><div id="1SpaceCover"><div id="1SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
 
 
<font size="3"><font face="Times New Roman">Multiply by PI/180 to convert angle to radians when the angle is in degrees.</font></font>
 
 
 
</div></div>
 
----
 
<div id="14SpaceContent" class="zcontent" align="left"><br /><br /><br /><div id="5Space" class="gamizbox" title="5Space"><div id="5SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="5SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="5SpaceRollupContent" align="center"></span></span></div><div id="5SpaceCover"><div id="5SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
 
 
<font size="3"><font face="Times New Roman">Calculate the cosine of the given angle.</font></font>
 
 
 
</div></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><br /><br /><br /><div id="9Space" class="gamizbox" title="9Space"><div id="9SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="9SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="9SpaceRollupContent" align="center"></span></span></div><div id="9SpaceCover"><div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="3"><font face="Times New Roman"> 
 
 
 
Lets see an example in (Column1, Row 1)
 
 
 
COS (R)
 
 
 
COS (C1R1)''''''
 
 
 
That is COS (5.25) is 0.5121
 
 
 
</font></font></div></div>
 
----
 
<div id="6SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
  
| class="  " |
 
<div id="6Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| Column1
 
| class="  " | Column2
 
| class="  " | Column3
 
| class="  " | Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 5.25
 
| class="sshl_f" | 0.5121
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" |
 
| class="sshl_f SelectTD SelectTD" |
 
<div id="6Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="6Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row6
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
 
|}
 
|}
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 
</div></div></div></div></div></div></div></div></div></div></div></div>
 

Revision as of 06:34, 29 October 2013

COS(n)


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

DSIN can be used if the angle is in degrees.

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

For example SIN(1..100) can give an array of the results, which is the SIN value for each of the elements in the array. The array could be of any shape.

Description

Consider     n = 90    then     =SIN(RADIANS(90))    gives    1

  • SIN function determines the sine of the given angle.

Examples

SIN(n)

  • n   is the angle in radians.
SIN(Radian) Value
SIN(0) 0
SIN(1) 0.8414709848
SIN(90) 0.8939966636