The process shown in the diagram below is:
(1)
An electromagnet produces a magnetic field so long as current flows in its coil.