(a) Derive the expression for the magnetic energy stored in an inductor when a current I develops in it. Hence, obtain the expression for the magnetic energy density.
(b) A square loop of sides 5 cm carrying a current of 0.2 A in the clockwise direction is placed at a distance of 10 cm from an infinitely long wire carrying a current of 1 A as shown in Fig. 6.66. Calculate (i) the resultant magnetic force, and (ii) the torque, if any, acting on the loop.
