Sec
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Return the trigonometric secant of a number.
Syntax
Sec(x)
Arguments
-
x
Must be an integer or real number, which represents an angle in radians
Returns
The secant of x
Exceptions
If x is not a number, returns an error value
Example
-
Sec(1)
[Returns 1.8508]
-
Sec(1.1)
[Returns 2.2046]
-
Sec('att1')
[Return the trigonometric secant of the value of 'att1' at time of evaluation]