a) Ta có : -\(\sqrt{a^2+b^2}< =asinx+bcosx< =\sqrt{a^2+b^2}\)
=> \(-\sqrt{12^2+\left(-5\right)^2}< =y< =\sqrt{12^2+\left(-5\right)^2}\)
<=> \(-\sqrt{13}< =y< =\sqrt{13}\)
Vậy min=\(-\sqrt{13}\) ,max=\(\sqrt{13}\)
b) \(-\sqrt{9+16}< =3cosx-4sinx< =\sqrt{9+16}\)
<=> -5 <=3cos x -4sinx <= 5
<=> 0<= y <= 10
Vậy min=0 max=10