Skip to main content
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
Show menu

CSQRT function


CSQRT(x) takes a complex or real number as argument and returns its square root. When x is a negative real number the result is a complex number. CSQRT(-1) returns 0+1i.

The argument x can be a real number, a complex number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the CSQRT function applied to all elements.


CSQRT(-1) returns 0+1i

CSQRT(9) returns 9.



See also

Recommended book

Book cover

Complex Numbers from A to ... Z
Titu Andreescu

Buy from Amazon

Learn how complex numbers may be used to solve algebraic equations, as well as their geometric interpretation Theoretical aspects are augmented with rich exercises and problems at various levels of difficulty