Complex numbers and trig identities: $\cos(3\theta) + i \sin(3\theta)$ Using the equally rule $a + bi = c + di$ and trigonometric identities how do I make...
$$\cos^3(\theta) - 3\sin^2(\theta)\ \cos(\theta) + 3i\ \sin(\theta)\ \cos^2(\theta) - i\ \sin^3(\theta)=
\cos(3\theta) + i\ \sin(3\theta)$$
Apparently it's easy but I can't see what trig identities to substitute
PLEASE HELP!

Note that $$(\cos(t)+i\sin(t))^n=(\cos(nt)+i\sin(nt)),~~n\in\mathbb Z$$ and $(a+b)^3=a^3+3a^2b+3ab^2+b^3,~~~(a-b)^3=a^3-3a^2b+3ab^2-b^3$.
