sinx+cosx-2
=√2(√2/2sinx+√2/2cosx)-2
=√2(sinxcosπ/4+cossinπ/4)-2
=√2sin(x+π/4)-2
运用了sin(a+b)=sinacosb+cosasinb
sin45°=cos45°=√2/2
sinx+cosx-2
=√2(√2/2sinx+√2/2cosx)-2
=√2(sinxcosπ/4+cossinπ/4)-2
=√2sin(x+π/4)-2
运用了sin(a+b)=sinacosb+cosasinb
sin45°=cos45°=√2/2