Difference between revisions of "Manuals/calci/COS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
* by default Calci use Radian as angle
 
* by default Calci use Radian as angle
  
[[Manuals/calci/DSIN | DSIN]] can be used if the angle is in degrees.  
+
[[Manuals/calci/DCOS | DCOS]] 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 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.  
+
For example COS(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==
 
==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/>
+
Consider &nbsp;&nbsp;&nbsp; '''n = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=COS(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''1''' <br/>
* SIN function determines the sine of the given angle.
+
* COS function determines the sine of the given angle.
  
 
== Examples ==
 
== Examples ==
'''SIN(n)'''
+
'''COS(n)'''
 
*'''n  ''' is the angle in radians.
 
*'''n  ''' is the angle in radians.
  

Revision as of 05:37, 29 October 2013

COS(n)


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

DCOS can be used if the angle is in degrees.

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

For example COS(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     =COS(RADIANS(90))    gives    1

  • COS function determines the sine of the given angle.

Examples

COS(n)

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