f(x)=sinx+acosx的图像关于x=π/6对称
根据COSX的图像可知
f(x)=mcos(x-π/6)=m(cosxcosπ/6+sinxsinπ/6)
=m(√3/2cosx+1/2sinx)
=m/2sinx+√3m/2cosx
=sinx+acosx
m/2=1,√3m/2=a
m=2,a=√3
f(x)=sinx+acosx的图像关于x=π/6对称
根据COSX的图像可知
f(x)=mcos(x-π/6)=m(cosxcosπ/6+sinxsinπ/6)
=m(√3/2cosx+1/2sinx)
=m/2sinx+√3m/2cosx
=sinx+acosx
m/2=1,√3m/2=a
m=2,a=√3