已知函数f(x)=2sinx(sinx+cosx)(1)求f(x)的最小正周期和最大值
f(x)=2(sinx)^2+sin2x=1-cos2x+sin2x=1+√2sin(2x-π/4)中1-cos2x+sin2x=1+√2sin(2x-π/4)怎么得到的????最大值怎么求?详细过程!!