The values of E2 and B2 vary from point to point and from moment to moment. Hence, the effective values of E2 and B2 are their time averages.
The graph of sin2θ and cos2θ are identical in shape but shifted by π/2, so the average values of sin2θ and Cos2θ are also equal over any integral multiple of π.
and also sin2θ + cos2θ =1
So by symmetry the average of sin2θ = average of cos2θ =1/2