A metal bar has a rectangular cross section 5.0cm by 10cm. The bar has a non-uniform conductivity, and as a result the current density increases linearly from 0 at the bottom to 0.10A/cm^2 at the top. Find the total current in the bar.
Hint: first determine the current dI through an infinitesimal area section dA.