Starting from Maxwell's equations, derive the law of energy conservation in the form
∂t∂W+∇⋅S+J⋅E=0
where W=2ϵ0E2+2μ01B2 and S=μ01E×B.
Evaluate W and S for the plane electromagnetic wave in vacuum
E=(E0cos(kz−ωt),0,0)B=(0,B0cos(kz−ωt),0),
where the relationships between E0,B0,ω and k should be determined. Show that the electromagnetic energy propagates at speed c2=1/(ϵ0μ0), i.e. show that S=Wc.