a.
\(0\le sin^2x\le1\Rightarrow\frac{4}{3}\le y\le4\)
\(y_{max}=4\) khi \(sinx=0\)
\(y_{min}=\frac{4}{3}\) khi \(sin^2x=1\)
b.
Đặt \(4sinx-3cosx=5\left(\frac{4}{5}sinx-\frac{3}{5}cosx\right)=5sin\left(x-a\right)=t\)
\(\Rightarrow-5\le t\le5\)
\(\Rightarrow y=t^2-4t+1=\left(t-2\right)^2-3\ge-3\)
\(y_{min}=-3\) khi \(t=2\)
\(y=t^2-4t-45+46=\left(t-9\right)\left(t+5\right)+46\le46\)
\(y_{max}=46\) khi \(t=-5\)