Step 1: Use a symmetry property:
For definite integrals, $\int_0^a f(x)\,dx = \int_0^a f(a-x)\,dx$. With $a = \frac{\pi}{2}$ and $f(x) = \cos^2 x$, we have $f(a-x) = \cos^2\left(\frac{\pi}{2} - x\right) = \sin^2 x$.
So if $I = \int_0^{\pi/2} \cos^2 x \, dx$, then also $I = \int_0^{\pi/2} \sin^2 x \, dx$.
Step 2: Add the two forms:
\[ 2I = \int_0^{\pi/2} (\cos^2 x + \sin^2 x)\, dx = \int_0^{\pi/2} 1 \, dx \]
Step 3: Evaluate:
The integral of 1 from 0 to $\frac{\pi}{2}$ is just the length of the interval.
\[ 2I = \frac{\pi}{2} \quad \Rightarrow \quad I = \frac{\pi}{4} \]
Step 4: Match with the options:
The value $\frac{\pi}{4}$ is option (3). The other options, $\frac{\pi}{2}$, $\pi$ and $1$, are all larger than $\frac{\pi}{4} \approx 0.785$ and do not satisfy $2I = \frac{\pi}{2}$.
Final Answer:
The integral equals $\frac{\pi}{4}$, option (3).
\[ \boxed{\frac{\pi}{4}} \]