Could someone help me to expand and express:
$$ \sum_{k=0}^N \cos(k\theta) $$
And:
$$ \sum_{k=0}^N \sin(k\theta) $$
In terms of $$\cos\theta/2$$ and $$\sin\theta/2$$
Using De Moivre's theorem:$$(\cos\theta + i \sin \theta)^N=\cos N\theta+i\sin N\theta$$
I'm still learning series and still not very good at them, so I need help, thanks!