IMSQRT
Returns the square root of a complex number in x + yi or x + yj text format.
If this function is not available, run the Setup program to install the Analysis ToolPak. After you install the Analysis ToolPak, you must enable it by using the Add-Ins command on the Tools menu.
Syntax
IMSQRT(inumber)
Inumber is a complex number for which you want the square root.
Remarks
- Use COMPLEX to convert real and imaginary coefficients into a complex number.
- If inumber is not in the form x + yi or x + yj, IMSQRT returns the #NUM! error value.
- The square root of a complex number is:
where:
and:
and:
Example
IMSQRT("1+i")
equals 1.098684 + 0.45509i