Two coaxial long solenoids of equal lengths have current, i1, i2, number of turns per unit length n1,n2 and radius r1,r2 respectively. If n1i1=n2i2 and the two solenoids carry current in opposite sense, the magnetic energy stored per until length is [r2>r1]
Solution:-
Magnetic field is non zero only in the region between the two solenoids where,