Question: what advantage does an electromagnet have over a permanent magnet
Answer: the magnetic field can be quickly changed by controlling the amount of electric current in the winding