a core of magnetizable material surrounded by a coil of wire through which an electric current is passed to make the core into a magnet