\(x\in\left[\dfrac{1}{4};\dfrac{3}{2}\right]\Rightarrow\pi x\in\left[\dfrac{\pi}{4};\dfrac{3\pi}{2}\right]\)
\(\Rightarrow cos\left(\pi x\right)\in\left[-1;\dfrac{\sqrt{2}}{2}\right]\)
\(y_{max}=\dfrac{\sqrt{2}}{2}\) khi \(x=\dfrac{1}{4}\)
\(y_{min}=-1\) khi \(x=1\)