Concept:
Find range step-by-step by analyzing inner function first, then applying outer function.
Step 1: Range of \( \cos^2 x \).
\[
0 \le \cos^2 x \le 1
\]
Step 2: Multiply by \( \frac{\pi}{4} \):
\[
0 \le \frac{\pi}{4}\cos^2 x \le \frac{\pi}{4}
\]
Step 3: Apply secant function:
\[
\sec \theta = \frac{1}{\cos \theta}, \quad \theta \in \left[0, \frac{\pi}{4}\right]
\]
\[
\cos \theta \in \left[\frac{1}{\sqrt{2}}, 1\right]
\]
\[
\Rightarrow \sec \theta \in [1, \sqrt{2}]
\]
Final Answer:
\[
[1, \sqrt{2}]
\]