CSC
Returns the cosecant of an angle, defined as 1 / SIN(angle).
Use CSC for reciprocal-sine calculations in radian-based formulas.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=CSC(number)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number | number | Required | — |
How it works
Cosecant is 1 / sin(x) for a radian angle x. It is undefined where sine is zero, at integer multiples of π.
Remarks
- Domain: valid for all real angles except where
SIN(angle) = 0. - Radians: input is interpreted in radians.
Error cases
- Errors: returns
#DIV/0!at or near integer multiples ofPI().
Examples
Invert the sine of one half radian.
Formula =CSC(0.5)
Expected result 2.08582964293349
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A negative angle makes the reciprocal of sine negative.
Formula =CSC(-0.5)
Expected result -2.08582964293349
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Evaluate close to the sine zero at the origin.
Formula =CSC(0.01)
Expected result 100.001666686111
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Nonnumeric text cannot be used as the input.
Formula =CSC("invalid")
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Cosecant at PI over 2
Formula =CSC(PI()/2)
Expected result 1
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Zero sine denominator
Formula =CSC(0)
Expected result #DIV/0!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
When does CSC return #DIV/0!?
CSC returns #DIV/0! when SIN(angle) is effectively zero.