Function csc #

Calculate the cosecant of a value, defined as csc(x) = 1/sin(x).

To avoid confusion with the matrix cosecant, this function does not apply to matrices.

Syntax #

math.csc(x)

Parameters #

Parameter Type Description
x number | BigNumber | Complex | Unit Function input

Returns #

Type Description
number | BigNumber | Complex Cosecant of x

Throws #

Type | Description —- | ———–

Examples #

math.csc(2)      // returns number 1.099750170294617
1 / math.sin(2)  // returns number 1.099750170294617

See also #

sin, sec, cot

Fork me on GitHub