Place a current carrying insulated wire in between the poles of a horse-shoe magnet. As the current passes it creates a magnetic field around it given by Flemming’s Right Hand Rule. Because the magnetic field created by the electric current in the wire is changing directions around the wire, it will repel both poles of the magnet by bending away from the wire. Depending on which pole is up, the wire will bend away from the magnet or farther into the “U”.