Step 1: Understanding the Concept:
We cannot integrate \(\cos^2 x\) directly. The usual trick is to lower the power with the double angle identity.
Step 2: Key Formula or Approach:
\(\cos 2x = 2\cos^2 x - 1\), so \(\cos^2 x = \frac{1 + \cos 2x}{2}\).
Step 3: Detailed Explanation:
Replace \(\cos^2 x\) in the integral:
\[ \int_0^{\pi/2} \cos^2 x \, dx = \frac{1}{2}\int_0^{\pi/2} (1 + \cos 2x)\, dx \]
Integrate term by term. The antiderivative of 1 is \(x\), and that of \(\cos 2x\) is \(\frac{\sin 2x}{2}\):
\[ = \frac{1}{2}\left[ x + \frac{\sin 2x}{2} \right]_0^{\pi/2} \]
At \(x = \frac{\pi}{2}\): \(\frac{\pi}{2} + \frac{\sin \pi}{2} = \frac{\pi}{2} + 0\). At \(x = 0\): \(0 + 0 = 0\).
\[ = \frac{1}{2}\cdot\frac{\pi}{2} = \frac{\pi}{4} \]
Step 4: Why the other options are wrong:
Option (1), \(\frac{\pi}{2}\), forgets the factor \(\frac{1}{2}\) from the identity.
Option (2), \(\pi\), is twice that again, so it is not possible.
Option (4), 1, is the value of \(\int_0^{\pi/2} \cos x \, dx\), the integral with power 1, not power 2.
Since \(\cos^2 x \le 1\) on an interval of length \(\frac{\pi}{2}\), the answer must be below \(\frac{\pi}{2}\), which also removes options (1) and (2).
Final Answer:
The integral equals \(\frac{\pi}{4}\), which is option (3).
\[ \boxed{\frac{\pi}{4}} \]