y=sinx+cosx
=√2(√2/2*sinx+√2/2cosx)
=√2(sinxcosπ/4+cosxsinπ/4)
=√2sin(x+π/4)
对称轴sinsin是最值
所以sin(x+π/4)=±1
x+π/4=kπ+π/2
x=kπ+π/4
y=sinx+cosx
=√2(√2/2*sinx+√2/2cosx)
=√2(sinxcosπ/4+cosxsinπ/4)
=√2sin(x+π/4)
对称轴sinsin是最值
所以sin(x+π/4)=±1
x+π/4=kπ+π/2
x=kπ+π/4