A cylindrical conductor with radius a carries a current with a current density kr^2.
a) Find the total current in the conductor.
b) Calculate the magnetic field as a function of r inside the conductor.
c) Calculate the magnetic field outside of the conductor.
d) Sketch the magnitude of the field as a function of r.