3.5.1.2.25 Secant
Contents
Description
The secant(x) function returns trigonometric secant of the given x. This and other trigonometric functions can take values in radians, degrees, and gradian. The units are determined by (which can also be set in ).
The secant() function should not be confused with the sec() function, which returns the seconds value of a date.
Syntax
double secant(double x)
Parameter
x
- can be any real number.
Return
Returns trigonometric secant of x
Example
secant(10) = ; //should return -1.1917935066879
See Also
, , , ,