A metal bar has rectangular cross section 5.0 cm by 10 cm, as shown in Fig. 24.18. The bar has a nonuniform conductivity, and as a result the current density increases linearly from zero at the bottom to 0.10 A/cm2 at the top. Find the total current in the bar.