Difference between revisions of "Manuals/calci/SEC"

From ZCubes Wiki
Jump to navigation Jump to search
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''COS(x)'''</div><br/>
+
<div style="font-size:30px">'''SEC (Number)'''</div><br/>
* where x is the angle in Radians
+
* where <math>Number</math> is the angle in Radians
* by default Calci use Radian as angle
+
* by default Calci use angle in Radians.
 +
**SEC(), returns the secant of the given 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 SEC value for each of the elements in the array. The array could be of any values either '+' or '-' like 1..5@SEC or (-5)..(-1)@SEC.  
  
 
==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 = 0'''&nbsp;&nbsp;&nbsp;  then &nbsp;&nbsp;&nbsp;  '''=SEC(RADIANS(0))'''&nbsp;&nbsp;&nbsp; gives &nbsp;&nbsp;&nbsp;'''1''' <br/>
 +
The above function gives the Secant of a number in Degree.<br/>
 +
*Sec function gives the Secant of angle.
 +
*This function is the reciprocal of COS function. i.e, '''Sec(x) = 1 / Cos(x)'''where x is any Number.
 +
*In a right angled triangle,&nbsp;&nbsp;  '''SEC = Hypotenuse/Adjacent side'''.<br/>
 +
*By default, Calci takes the angle in Radians.
 +
* To convert Radians to Degrees  multiply with 180/PI() or we have to use the Radians function SEC(RADIANS(x)) or DSEC(x).
 +
*SEC(RADIANS(90))= 16331778728383844 ie, approximately= Infinity. So for calculation we consider SEC(RADIANS(90))=Infinity
  
The above function gives the Cosine of 'x' in Degree.<br/>
 
*In a right angled triangle,&nbsp;&nbsp;  '''COS = Adjacent / Hypotenuse'''.<br/>
 
*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).
 
* COS 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 angles 1..10.
  
1..10@COS
+
1..10@SEC
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Number !! COS
+
! Angles !! SEC
 
|-
 
|-
| 1 || 0.54030230586
+
| 1 ||1.85081571768092
 
|-
 
|-
| 2 || -0.41614683654
+
| 2 || -2.40299796172238
 
|-
 
|-
| 3 || -0.9899924966
+
| 3 || -1.01010866590799
 
|-
 
|-
| 4 || -0.65364362086
+
| 4 ||-1.52988565646639
 
|-
 
|-
| 5 || 0.28366218546
+
| 5 || 3.52532008581608
 
|-
 
|-
| 6 || 0.96017028665
+
| 6 || 1.0414819265951
 
|-
 
|-
| 7 || 0.75390225434
+
| 7 || 1.3264319004737
 
|-
 
|-
| 8 || -0.1455000338
+
| 8 || -6.87285063669037
 
|-
 
|-
| 9 || -0.91113026188
+
| 9 || -1.09753790630496
 
|-
 
|-
| 10 || -0.83907152907
+
| 10 || -1.19179350668789
 
|}
 
|}
  
 
== Examples ==
 
== Examples ==
'''COS(x)'''
+
'''SEC(Number)'''
*'''x  ''' is the angle in radians.
+
*'''Number ''' is the angle in radians.
  
 
{|id="TABLE1" class="SpreadSheet blue"
 
{|id="TABLE1" class="SpreadSheet blue"
  
 
|- class="even"
 
|- class="even"
|'''COS(Radian)'''
+
|'''SEC(Radian)'''
 
|'''Value'''
 
|'''Value'''
  
 
|- class="odd"
 
|- class="odd"
| COS(0)
+
| SEC(0)
| 0
+
| 1
  
 
|- class="even"
 
|- class="even"
| COS(1)
+
| SEC(1)
| 0.54030230586
+
| 1.8508157176809255
  
 
|- class="odd"
 
|- class="odd"
|COS(90)
+
|SEC(90)
| -0.44807361612
+
| -2.2317761278577963
 +
|}
 +
 
 +
==Related Videos==
  
|}
+
{{#ev:youtube|Q7htxHDN8LE|280|center|Secant}}
  
 
==See Also==
 
==See Also==
  
 +
*[[Manuals/calci/DSEC | DSEC]]
 +
*[[Manuals/calci/SECH | SECH]]
 +
*[[Manuals/calci/COS | COS]]
 
*[[Manuals/calci/DCOS | DCOS]]
 
*[[Manuals/calci/DCOS | DCOS]]
  
*[[Manuals/calci/ACOS | ACOS]]
+
==References==
  
*[[Manuals/calci/COSH | COSH]]
+
*[http://en.wikipedia.org/wiki/Trigonometric_functions List of Trigonometric Functions]
  
==References==
 
  
*[http://en.wikipedia.org/wiki/Trigonometric_functions List of Trigonometric Functions]
+
 
*[http://en.wikipedia.org/wiki/Sine SINE]
+
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 15:36, 3 July 2018

SEC (Number)


  • where is the angle in Radians
  • by default Calci use angle in Radians.
    • SEC(), returns the secant of the given 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 SEC value for each of the elements in the array. The array could be of any values either '+' or '-' like 1..5@SEC or (-5)..(-1)@SEC.

Description

Consider     x = 0    then     =SEC(RADIANS(0))    gives    1
The above function gives the Secant of a number in Degree.

  • Sec function gives the Secant of angle.
  • This function is the reciprocal of COS function. i.e, Sec(x) = 1 / Cos(x)where x is any Number.
  • In a right angled triangle,   SEC = Hypotenuse/Adjacent side.
  • By default, Calci takes the angle in Radians.
  • To convert Radians to Degrees multiply with 180/PI() or we have to use the Radians function SEC(RADIANS(x)) or DSEC(x).
  • SEC(RADIANS(90))= 16331778728383844 ie, approximately= Infinity. So for calculation we consider SEC(RADIANS(90))=Infinity


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

1..10@SEC

Angles SEC
1 1.85081571768092
2 -2.40299796172238
3 -1.01010866590799
4 -1.52988565646639
5 3.52532008581608
6 1.0414819265951
7 1.3264319004737
8 -6.87285063669037
9 -1.09753790630496
10 -1.19179350668789

Examples

SEC(Number)

  • Number  is the angle in radians.
SEC(Radian) Value
SEC(0) 1
SEC(1) 1.8508157176809255
SEC(90) -2.2317761278577963

Related Videos

Secant

See Also

References