Figure $33-74$ shows a cylindrical resistor of length $l,$ radius $a$, and resistivity $\rho,$ carrying current $i$ (a) Show that the Poynting vector $\vec{S}$ at the surface of the resistor is every where directed normal to the surface, as shown. (b) Show that the rate $P$ at which energy flows into the resistor through its cylindrical surface, calculated by integrating the Poynting vector over this surface, is cqual to the rate at which thermal energy is produced:
$$\int \vec{S} \cdot d \vec{A}=i^{2} R$$
where $d \vec{A}$ is an element of area on the cylindrical surface and $R$ is the resistance.