Calculate the following product:
$$ \left(\sin\frac{\pi}{12} + i\cos\frac{\pi}{12}\right) \left(\sin\frac{\pi}{6} + i\cos\frac{\pi}{6}\right) \left(\sin\frac{\pi}{4} + i\cos\frac{\pi}{4}\right) $$
What threw me off was the imaginary component of $i\,cos$, otherwise I would have used De Moivre's Theorem. Am I supposed to get rid of it and then apply the same theorem, perhaps?
Using $\sin\theta=\cos\left(\dfrac\pi2-\theta\right)$ $$\begin{align}P&=\left(\sin\dfrac\pi{12}+i\cos\dfrac\pi{12}\right)\left(\sin\dfrac\pi6+i\cos\dfrac\pi6\right)\left(\sin\dfrac\pi4+i\cos\dfrac\pi4\right)\\&=\left(\cos\dfrac{5\pi}{12}+i\sin\dfrac{5\pi}{12}\right)\left(\cos\dfrac\pi3+i\sin\dfrac\pi3\right)\left(\cos\dfrac\pi4+i\sin\dfrac\pi4\right)\\&=e^{i\left(\tfrac{5\pi}{12}+\tfrac\pi3+\tfrac\pi4\right)}\\&=e^{i\pi}\\&=-1\end{align}$$
Using the fact that $$e^{i\theta}=\cos\theta+i\sin\theta$$ Setting $\theta=\pi$ gives $$e^{i\pi}=-1$$