Solución

$$4\int_0^{\pi/3} d\theta - 16\int_{\pi/3}^{\pi/2} (cos^2\theta) d\theta$$