The IMCOSH function in Google Sheets is a vital mathematical tool used for calculating the hyperbolic cosine of complex numbers. This function helps simplify operations involving complex numbers, making it easier for users to perform advanced mathematical analyses in spreadsheets.
Syntax
IMCOSH(complex_number)
- complex_number: The complex number for which the hyperbolic cosine is calculated, represented in the form “x+yi” where “x” is the real part and “y” is the imaginary part.
Example #1
=IMCOSH("2+3i"])
This function calculates the hyperbolic cosine of the complex number 2 + 3i, resulting in approximately 4.1896 – 9.1088i.
Example #2
=IMCOSH("0+1i")
This calculation finds the hyperbolic cosine of the complex number 0 + 1i, yielding a result of approximately 1.5431i.
Example #3
=IMCOSH("1+0i")
Here, the function computes the hyperbolic cosine of the complex number 1 + 0i, which results in a value of approximately 1.5431.
Error handling
- VALUE! – This error indicates that the input is not in a valid format for a complex number.
- NUM! – This error occurs when the calculations yield a numeric overflow or are mathematically impossible.