How can I solve the complex equation $$z^3=1+i \sqrt3$$
Splitting $z$ into $z=a+bi$ gives me the mess
$$a^3+3a^2b^2i-3ab^2-b^3i-i \sqrt3-1=0$$
where I dont know how to continue. I have never really worked with complex numbers, so I am not familiar with the "tricks" or steps that have to be done.
You approach this using the fact that$$1+i\sqrt3=2\left(\cos\left(\frac\pi3\right)+i\sin\left(\frac\pi3\right)\right)$$and using de Moivre's formula.