sqrt(z)

Returns the square root of complex z.


See also pow log exp 


Example


sqrt(5)

2.2361

sqrt( 4+2i )

2.0582 + 0.4859 i

sqrt(-5)

NaN

sqrt(-5+0i)

1.3692E-16 + 2.2361 i