The Excel Imsec function returns the secant of a supplied complex number
The IMSEC function syntax has the following arguments:
- Inumber Required. A complex number for which you want the secant
Example: Let’s look at some Excel IMSEC function examples and explore how to use the IMSEC function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following IMSEC examples would return:
- Use COMPLEX to convert real and imaginary coefficients into a complex number.
- If inumber is a value that is not in the x+yi or x+yj text format, IMSEC returns the #NUM! error value.
If inumber is a logical value, IMSEC returns the #VALUE! error value