The IMEXP function in Excel is designed to compute the exponential of a complex number represented in the form of a string. This function is useful in various fields such as engineering, physics, and complex number analysis, where exponential functions of complex variables are often required.
Syntax
IMEXP(inumber)
- inumber: The complex number for which the exponential is to be calculated. It can either be a complex number in the form of a string (like “3+2i”) or a cell reference containing such a value.
Example #1
=IMEXP("2+3i")
This function calculates the exponential of the complex number 2 + 3i. The result is approximately (-6.89 + 3.40i).
Example #2
=IMEXP(A1)
If cell A1 contains the complex number “1+1i”, this function computes the exponential, resulting in approximately (1.4687 + 2.2874i).
Example #3
=IMEXP("0+0i")
Here, the function calculates the exponential of the complex number 0 + 0i, which results in 1, as e^0 = 1.
Error handling
- NUM!: This error occurs if the input is not a valid complex number, such as an empty string or a string that doesn’t follow the complex number format.
- VALUE!: This error appears when the argument provided cannot be interpreted as a complex number, for example, using numbers that are not string formatted.