A solenoid that is 111 cm long has a cross-sectional area of 13.8 cm2. There are 958 turns of wire carrying a current of 7.62 A.
(a) Calculate the energy density of the magnetic field inside the solenoid.
(b) Find the total energy in joules stored in the magnetic field there (neglect end effects).