I don't know how to approach this series. Assuming that it is done using the residue theorem, should the answer be 0? Because the function within doesn't have any pole.
$$ \sum_{n=0}^{\infty} \left(\frac{(-1)^n}{2^n\cdot n}\right) \sin(n \theta) $$
Thanks in advance for your help.
I see no obvious way to apply the residue theorem.
Hint: Note that $$ \sum_{n=1}^{\infty} \left(\frac{(-1)^n}{2^n\cdot n}\right) \sin(n \theta) = \operatorname{Im}\left[ \sum_{n=1}^{\infty} \frac{\left(-\frac12 e^{i\theta}\right)^n}{n} \right] $$