The IMSECH function returns the hyperbolic secant of a complex number in x+yi or x+yj text format. The hyperbolic secant of a complex number is defined as the inverse of the hyperbolic cosine i.e.
sech(z) = 1 / cosh(z)
Syntax:= IMSECH (inumber)
The IMSECH function syntax has the following arguments:
- Inumber: Required. A complex number for which you want the hyperbolic secant
Example: Let’s look at some Excel IMSECH function examples and explore how to use the IMSECH function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following IMSECH examples would return:
- Complex Numbers in Excel are simply stored as text.
- When a text string in the format “a + bi” or “a + bj” is supplied to one of Excel’s built-in Complex Number Functions, this is interpreted as a complex number.
- The complex number functions can accept a simple numeric value, as this is equivalent to a complex number whose imaginary coefficient is equal to 0.
- Use COMPLEX to convert real and imaginary coefficients into a complex number.
- If inumber is not recognized as a complex number, IMSECH returns the #NUM! error.
- If inumber is a logical value, IMSECH returns the #VALUE! error