A solenoid is connected to a battery as shown in the figure, and a bar magnet is placed nearby. What is the direction of the magnetic force that this solenoid exerts on the bar magnet? (Hint: Think of the solenoid as a bar magnet, and identify what would be its north and south poles.)
