帮我讲解这道题---Question Stem: 5. 已知 $y = \cos x$, $x \in \left[-\frac{\pi}{2}, \frac{\pi}{4}\right]$, 其值域为__________. Mathematical Formulas/Equations: $y = \cos x$ $x \in \left[-\frac{\pi}{2}, \frac{\pi}{4}\right]$ Other Relevant Text: 已知 (Known) 其值域为 (Its range is)

视频信息