If $f(x) = \begin{vmatrix} 2 \cos ^2 x & \sin 2x & – \sin x \\ \sin 2x & 2 \sin ^2 x & \cos x \\ \sin x & – \cos x & 0 \end{vmatrix},$ then $\int_0^{\frac{\pi}{2}} [ f(x) + f’(x)] dx$ is