f = Exp[-(y - Pi)^2] - 3*Exp[-2*(y - 3*Pi/2)^2]

1/(2*Pi)*Integrate[f, {y, 0, 2 Pi}]

Simplify[%]

1/(2*Pi)*NIntegrate[f, {y, 0, 2 Pi}]