sec()
Determines the secant of a given number either in radians or in degrees.
This function is valid in
v2.0.0 to v2.24.2.
This function has been downloaded 40 times.
Parameters
{number}
angle
The angle whose secant value should be returned.
{boolean=}
opt_usingDegrees
Optional, Default:false
If true
then angle
will be interpreted in degrees, otherwise angle
will be interpreted in radians.
Returns
{number}
The secant of angle
in radians by default, but if opt_usingDegrees
is a true
ish value then the secant of angle
in degrees will be returned.
Required Functions
This function directly requires the following functions which are included automatically:

cos()
Determines the cosine of a given number either in radians or in degrees.

cot()
Determines the cotangent of a given number either in radians or in degrees.

csc()
Determines the cosecant of a given number either in radians or in degrees.

sin()
Determines the sine of a given number either in radians or in degrees.

tan()
Determines the tangent of a given number either in radians or in degrees.
Requiring Functions
This function is directly required by the following functions:

cos()
Determines the cosine of a given number either in radians or in degrees.

cot()
Determines the cotangent of a given number either in radians or in degrees.

csc()
Determines the cosecant of a given number either in radians or in degrees.

sin()
Determines the sine of a given number either in radians or in degrees.

tan()
Determines the tangent of a given number either in radians or in degrees.