The series \(C\) and \(S\) are defined for \(0 < \theta < \pi\) by
\begin{align}
C &= 1 + \cos \theta + \cos 2\theta + \cos 3\theta + \cos 4\theta + \cos 5\theta,
S &= \sin \theta + \sin 2\theta + \sin 3\theta + \sin 4\theta + \sin 5\theta.
\end{align}
- Show that \(C + iS = \frac{e^{3i\theta} - e^{-3i\theta}}{e^{i\theta} - e^{-i\theta}} \cdot e^{i\theta}\). [4]
- Deduce that \(C = \sin 3\theta \cos \frac{5}{2}\theta \operatorname{cosec} \frac{1}{2}\theta\) and write down the corresponding expression for \(S\). [4]
- Hence find the values of \(\theta\), in the range \(0 < \theta < \pi\), for which \(C = S\). [4]