Field lines due to a solenoid at its ends and outside cannot
be so completely straight and confined; such a thing violates
Ampere’s law The lines should curve out at both ends, and meet
eventually to form closed loops (e) Right These are field lines outside and inside a bar magnet