解: 由于(cosx)^2为偶函数,因此 [-π/2,π/2] ∫2(cosx)^2dx = 2* [0,π/2]∫2(cosx)^2dx = 2* [0,π/2]∫(1+cos2x)dx /** 2倍角公式 =2* (x+1/2*sinx2x) |[0,π/2] = π