A function g ∶ [0, \(\frac{\pi}{2}\)] → R by \(\rm g(x) = \left \{ \begin{matrix} \rm cos^2\ x & \rm x \ \epsilon\ Q \\ \rm 0 & \rm \ otherwise \end{matrix}\right.\) Find the upper Riemann integrals of g over [0, \(\frac{\pi}{2}\)].
1
\(\frac{\pi}{2}\)
2
\(\frac{\pi}{3}\)
3
\(\frac{\pi}{4}\)
4
π