A current flowing in the winding of a long straight solenoid is increased at a sufficiently slow rate. Demonstrate that the rate at which the energy of the magnetic field in the solenoid increases is equal to the flux of the Poynting vector across the lateral surface of the solenoid.