Question
if $z=2+4i$, find $\sqrt{z}$ when $\sqrt{z}=a+bi$
what I have so far
$\sqrt{z}=a+bi$, so I square both sides ->
$z=a^2+2abi-b^2$
we can substitute for z
$z=2+4i=a^2+2abi-b^2$
that means $a^2-b^2=2$ and $2abi=4i$
and ab=2 so then $b=\frac{a}{2}$
from then i dont know how to proceed from there