Secant

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 the system.math.angularunits object property (which can also be set in the Options dialog box).

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

Sin, Cos, Tan, Cot, Csc