24.
\(cos\left(x-\dfrac{\pi}{2}\right)\le1\Rightarrow y\le3.1+1=4\)
\(y_{max}=4\)
26.
\(y=\sqrt{2}cos\left(2x-\dfrac{\pi}{4}\right)\)
Do \(cos\left(2x-\dfrac{\pi}{4}\right)\le1\Rightarrow y\le\sqrt{2}\)
\(y_{max}=\sqrt{2}\)
b.
\(\dfrac{1}{2}sinx+\dfrac{\sqrt{3}}{2}cosx=\dfrac{1}{2}\)
\(\Leftrightarrow cos\left(x-\dfrac{\pi}{6}\right)=\dfrac{1}{2}\)
\(\Leftrightarrow\left[{}\begin{matrix}x-\dfrac{\pi}{6}=\dfrac{\pi}{3}+k2\pi\\x-\dfrac{\pi}{6}=-\dfrac{\pi}{3}+k2\pi\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\dfrac{\pi}{2}+k2\pi\\x=-\dfrac{\pi}{6}+k2\pi\end{matrix}\right.\)