Frequency of the electromagnetic wave is given as
Electric field amplitude is given as
Speed of light is known as
Energy density of the electric field is represented as,
And, energy density of the magnetic field is given as:
Where,
Now,
On putting equation (2) in equation (1), we get
On squaring on both sides, we get