9 (a) Obtain the expression for the magnetic energy stored
in a solenoid in terms of magnetic field B, area A and length l of the
solenoid (b) How does this magnetic energy compare with the
electrostatic energy stored in a capacitor Solution
(a)
From Eq (6