I'm struggling with the following exercises:
I tried to use the reasoning as follows:
$$(a+bi)^n=(re^{\theta i})^n=r^ne^{\theta in}=r^n(\cos(\theta n)+i\sin(\theta n))$$
So for the first one I did:
$$2^{1/6}(\cos(-\frac{\pi}{3} \cdot \frac{1}{6})+i\sin(-\frac{\pi}{3} \cdot \frac{1}{6}))$$
But it gives me a decimal solution, that's why I'm not sure about the solution.
And for the second one, I was attempting to do the same but when I was calculating $r$ of $(1+\sqrt{-3}i)^{50}$, that is, the modulus of the complex number:
$$r=\sqrt{1^2+(\sqrt{-3})^2}=\sqrt{1-3}$$
which doesn't exist.
Any idea? Thank you.