The area (in sq. units) of the region bounded by
\[
x=0,\quad x=\frac{\pi}{2},
\]
\[
y=0,\quad y=\cos x,\quad \text{and}\quad y=\tan x
\]
is
Show Hint
When multiple curves bound a region, first find their intersection points. Then split the area into intervals where the upper boundary changes and integrate accordingly.