How can I find powers and roots of complex numbers with ugly argument such as cube root of 2+11i? I saw Find the solutions to $z^3 = 2 + 11i$., but the answer includes some guessing and I would like to have some algorithm for such a tasks, which I can program. I would also like to solve it symbolically and thus precisely. Of course I know the formula: $a^b=e^{b \ln(a)}$ But when I try to use it:
$\sqrt[3]{2+11i}=(2+11i)^\frac{1}{3}=e^{\frac{1}{3} \ln(2+11i)}=e^{\frac{1}{3} \big(\ln(\sqrt{125})+i \arctan(\frac{11}{2}) \big)}=$
$=\sqrt{5} \big(\cos(\frac{1}{3} \arctan(\frac{11}{2}))+i \sin (\frac{1}{3} \arctan(\frac{11}{2})) \big)$
And I cannot solve this further symbolically, of course when I solve it in floating point numbers I get the right solution $2+i$.