The IMSQRT function in Excel is specifically designed to compute the square root of a complex number. This function is especially useful for users engaged in mathematical, engineering, or financial analyses that involve complex numbers. By using IMSQRT, you can easily obtain the square root of numbers that include imaginary components, streamlining the process of complex calculations in your spreadsheets.
Syntax
IMSQRT(complex_number)
- complex_number: A complex number expressed as a text string in the form “x + yi” or “x – yi”, where x represents the real part and yi is the imaginary part.
Example #1
IMSQRT("4 + 0i")
This function will calculate the square root of the complex number 4, returning the result “2 + 0i” as the output.
Example #2
IMSQRT("0 + 9i")
Here, the function computes the square root of the complex number 9i, yielding the output “0 + 3i”.
Example #3
IMSQRT("-1 + 0i")
This call will determine the square root of -1, producing the result “0 + 1i”, which is an important result in complex number theory.
Error handling
- NUM! This error occurs when the input complex number is not valid, such as using a non-numeric character or an incomplete format.
- VALUE! This indicates that the input is not a valid complex number or the formula syntax is incorrect, like omitting the imaginary part altogether.