1)f(x)=√2(sin2xcosπ/4+cos2xsinπ/4)+2a
=√2sin(2x+π/4)+2a
∴最小正周期T=2π/2=π
2)、∵0≤x≤π/2∴π/4≤2x+π/4≤5π/4
∴-√2/2≤sin(2x+π/4)≤1
则f(x)min=√2*(-√2/2)+2a=2a-1=-2
∴a=-1/2
1)f(x)=√2(sin2xcosπ/4+cos2xsinπ/4)+2a
=√2sin(2x+π/4)+2a
∴最小正周期T=2π/2=π
2)、∵0≤x≤π/2∴π/4≤2x+π/4≤5π/4
∴-√2/2≤sin(2x+π/4)≤1
则f(x)min=√2*(-√2/2)+2a=2a-1=-2
∴a=-1/2