SEC INDEX

SEC _ _ _ _ _ _ _ _ _ _ _ _ operator

The sec operator returns the secant of its argument.

syntax:

sec(<expression>) or sec <simple\_expression>

<expression> is any valid scalar REDUCE expression, <simple\_expression> is a single identifier or begins with a prefix operator name.

examples:




sec abc; 

  SEC(ABC) 



sec(pi); 

  -1 



sec 4; 

  SEC(4) 



on rounded; 


sec(4); 

  - 1.52988565647 



sec log 5; 

  - 25.8852966005

secreturns a numeric value only if rounded is on. Then the secant is calculated to the current degree of floating point precision.