IMCSCH function
IMCSCH returns the hyperbolic cosecant of a complex number as text in complex number form. To get a plain number, wrap the result in IMREAL or IMAGINARY.
Example
Read it as a sentence: find the hyperbolic cosecant of the complex number 1+i, then keep only its real part, which gives 0.303931001628426.
A
B
C
D
1
0.303931001628426
2
3
Syntax
IMCSCH(inumber)
-
inumber(required) - A complex number as text, like "3+4i".
Returns: The result as a complex number in text form.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=IMCSCH("3+4i") | -0.0648774713706355+0.0754898329158637i | "3+4i" |
=IMCSCH("3+4j") | -0.0648774713706355+0.0754898329158637j | Suffix j |
=IMCSCH(5) | 0.0134765058305891 | Pure real number 5 |
=IMCSCH("5") | 0.0134765058305891 | Pure real text "5" |
=IMCSCH("i") | -1.18839510577812i | Pure imaginary "i" |
=IMCSCH("-2i") | 1.09975017029462i | "-2i" |
=IMCSCH(0) | #NUM! | Zero |
=IMCSCH("3+4I") | #NUM! | Uppercase I |
Watch out for
- Result is text; wrap in IMREAL or IMAGINARY to get a number.
Where it works
- Excel
- IMCSCH arrived in Excel 2013. Older versions do not have it.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Engineering functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .