Electromagnet Scenario

A sketch of the electromagnet scenario described in the problem. A circular coil of wire is placed between two magnets, creating an electromagnet when current runs through the coil.