1. The problem statement, all variables and given/known data Find the magnetic field from an infinite slab with constant current density, Jo, in the x direction. ρ(z) = ρ1 x_hat for -b<z<b ρ(z) = 0 for |z| >= b 2. Relevant equations Ampere's Law. 3. The attempt at a solution I draw a rectangular prism inside the slab with -b<z<b with length 2z. I use Ampere's Law for the 4 sides and two sides are 0 due to being perpendicular to the current density. My remaining line integrals give me: 2zB + 2zB = μInet Inet = Itotal (A of amperian loop / A total slab) Inet = Itotal (2zxy / 2bxy) Inet = Jo dot dS (z/b) I do not know what to do with that integral of Jo dot dS. Am I on the right track? Thank you!