(1)f(x)=(sinx+cosx)^2+2cosx^2 =(根号2)sin(2x+π/4)+2,最大值为2-根号2,当2x+π/4=kπ+3π/4
x=kπ/2+π/4
(2)g(x)是由函数f(x)的图像向左平移π/4个单位=(根号2)sin(2(x+π/4)+π/4)+2=(根号2)sin(2x+3π/4)+2,是非奇非偶函数
(1)f(x)=(sinx+cosx)^2+2cosx^2 =(根号2)sin(2x+π/4)+2,最大值为2-根号2,当2x+π/4=kπ+3π/4
x=kπ/2+π/4
(2)g(x)是由函数f(x)的图像向左平移π/4个单位=(根号2)sin(2(x+π/4)+π/4)+2=(根号2)sin(2x+3π/4)+2,是非奇非偶函数