How to solve this simple integral?
$\int_a^b\cos\theta \sin\theta \,d\theta$
I tried integrating by parts: given the rule
$\int u dv = uv - \int v du$
I substituted $\cos \theta$ as $dv $ and $\sin \theta$ as $u$ but I end up obtaining
$0 = \sin \theta \sin \theta$