Step 1:
We start by applying De Moivre's theorem, which states that for any real number x and integer n, we have:
$$(\cos x + i \sin x)^n = \cos nx + i \sin nx$$
So, we can rewrite the given expression as:
$$\left[3\left(\cos \frac{1}{3} \pi+i \sin \frac{1}{3}
Show more…