3.5.2.1.25 Csc

Description

The csc(x) function returns value of cosecant for each value 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).

Syntax

double csc(double x)

Parameter

x

x is any real value.

Return

The function returns the cosecant of the argument. For x of zero, the function returns missing value.

Example

val = csc(-10);
val = ; //should return 1.8381639608897

See Also

sin, cos, tan, sin, secant