SEC(x)
- where x is the angle in Radians
- by default Calci use angle in Radians
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 'x' in Degree.
- Sec function gives the Secant of angle 'x'.
- This function is the reciprocal of COS function. i.e, Sec(x) = 1 / Cos(x).
- In a right angled triangle, SEC = Adjacent side / Hypotenuse.
- 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(RADIAN(x)) or DSEC(x).
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(x)
- x is the angle in radians.
SEC(Radian) | Value |
SEC(0) | 1 |
SEC(1) | 1.8508157176809255 |
SEC(90) | -2.2317761278577963 |