Coil of wire Example: Move bar magnet towards coil of wire Remember: When you have a current in a coil, it produces a magnetic field. Remember: A current in a coil is like a little bar magnet. S N S N Repel Figure 23–8 loop! (b) If the north pole of a magnet is