函数fx=asinx+bcosx的图像经过(0,1),
1=asin0+bcos0 所以b=1
经过(π/2,1),
1=asinπ/2+bcosπ/2 所以a=1
f(x)=sinx+cosx
=√2[sinxcosπ/4+cosxsinπ/4]
=√2sin(x+π/4)
函数fx=asinx+bcosx的图像经过(0,1),
1=asin0+bcos0 所以b=1
经过(π/2,1),
1=asinπ/2+bcosπ/2 所以a=1
f(x)=sinx+cosx
=√2[sinxcosπ/4+cosxsinπ/4]
=√2sin(x+π/4)