Difference between revisions of "Manuals/calci/SEC"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''COS(x)'''</div><br/>
+
<div style="font-size:30px">'''SEC(x)'''</div><br/>
 
* where x is the angle in Radians
 
* where x is the angle in Radians
 
* by default Calci use Radian as angle
 
* by default Calci use Radian as angle
  
[[Manuals/calci/DCOS | DCOS]] can be used if the angle is in degrees.  
+
[[Manuals/calci/DSEC | DSEC]] 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 COS(1..100) can give an array of the results, which is the COS value for each of the elements in the array. The array could be of any shape.  
+
For example SEC(1..100) can give an array of the results, which is the COS value for each of the elements in the array. The array could be of any shape.  
  
 
==Description==
 
==Description==
Consider &nbsp;&nbsp;&nbsp; '''x = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=COS(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''0''' <br/>
+
Consider &nbsp;&nbsp;&nbsp; '''x = 90'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=SEC(RADIANS(90))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''0''' <br/>
  
 
The above function gives the Cosine of 'x' in Degree.<br/>
 
The above function gives the Cosine of 'x' in Degree.<br/>
 
*In a right angled triangle,&nbsp;&nbsp;  '''COS = Adjacent / Hypotenuse'''.<br/>
 
*In a right angled triangle,&nbsp;&nbsp;  '''COS = Adjacent / Hypotenuse'''.<br/>
 
*By default, Calci takes the angle in Radians.
 
*By default, Calci takes the angle in Radians.
* To convert Radian to Degree  multiply with 180/PI() or we have to use the Radians function COS(RADIAN(x))or DCOS(x).
+
* To convert Radian to Degree  multiply with 180/PI() or we have to use the Radians function SEC(RADIAN(x))or DSEC(x).
* COS function determines the Cosine of the given angle. <br/>
+
* SSEC function determines the Cosine of the given angle. <br/>
  
The following example shows how COS is applied to an array of numbers containing numbers 1..10.
+
The following example shows how SEC is applied to an array of numbers containing numbers 1..10.
  
1..10@COS
+
1..10@SEC
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Number !! COS
+
! Number !! SEC
 
|-
 
|-
 
| 1 || 0.54030230586
 
| 1 || 0.54030230586
Line 48: Line 48:
  
 
== Examples ==
 
== Examples ==
'''COS(x)'''
+
'''SEC(x)'''
 
*'''x  ''' is the angle in radians.
 
*'''x  ''' is the angle in radians.
  
Line 54: Line 54:
  
 
|- class="even"
 
|- class="even"
|'''COS(Radian)'''
+
|'''SEC(Radian)'''
 
|'''Value'''
 
|'''Value'''
  
Line 62: Line 62:
  
 
|- class="even"
 
|- class="even"
| COS(1)
+
| SEC(1)
 
| 0.54030230586
 
| 0.54030230586
  
 
|- class="odd"
 
|- class="odd"
|COS(90)
+
|SEC(90)
 
| -0.44807361612
 
| -0.44807361612
  
Line 73: Line 73:
 
==See Also==
 
==See Also==
  
*[[Manuals/calci/DCOS | DCOS]]
+
*[[Manuals/calci/DSEC | DSEC]]
  
*[[Manuals/calci/ACOS | ACOS]]
+
*[[Manuals/calci/ASEC | ASEC]]
  
 
*[[Manuals/calci/COSH | COSH]]
 
*[[Manuals/calci/COSH | COSH]]

Revision as of 23:55, 3 November 2013

SEC(x)


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

DSEC can be used if the angle is in degrees.

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

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

Description

Consider     x = 90    then     =SEC(RADIANS(90))    gives    0

The above function gives the Cosine of 'x' in Degree.

  • In a right angled triangle,   COS = Adjacent / Hypotenuse.
  • By default, Calci takes the angle in Radians.
  • To convert Radian to Degree multiply with 180/PI() or we have to use the Radians function SEC(RADIAN(x))or DSEC(x).
  • SSEC function determines the Cosine of the given angle.

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

1..10@SEC

Number SEC
1 0.54030230586
2 -0.41614683654
3 -0.9899924966
4 -0.65364362086
5 0.28366218546
6 0.96017028665
7 0.75390225434
8 -0.1455000338
9 -0.91113026188
10 -0.83907152907

Examples

SEC(x)

  • x   is the angle in radians.
SEC(Radian) Value
COS(0) 0
SEC(1) 0.54030230586
SEC(90) -0.44807361612

See Also

References