IMCOSH function
IMCOSH returns the hyperbolic cosine 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 cosine of the complex number 1+i, then keep only its real part, which gives 0.833730025131149.
A
B
C
D
1
0.833730025131149
2
3
Syntax
IMCOSH(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 |
|---|---|---|
=IMCOSH("3+4i") | -6.58066304055116-7.58155274274654i | "3+4i" |
=IMCOSH("3+4j") | -6.58066304055116-7.58155274274654j | Suffix j |
=IMCOSH(5) | 74.2099485247878 | Pure real number 5 |
=IMCOSH("5") | 74.2099485247878 | Pure real text "5" |
=IMCOSH("i") | 0.54030230586814 | Pure imaginary "i" |
=IMCOSH("-2i") | -0.416146836547142 | "-2i" |
=IMCOSH("3+4I") | #NUM! | Uppercase I |
=IMCOSH("abc") | #NUM! | Invalid text |
Watch out for
- Result is text; wrap in IMREAL or IMAGINARY to get a number.
Where it works
- Excel
- IMCOSH 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 .