elektromágnes
Elektromágnes is a type of magnet in which the magnetic field is produced by an electric current. Electromagnets usually consist of a wire wound into a coil. When an electric current is passed through the wire, the coil generates a magnetic field. The strength of the magnetic field depends on the number of turns in the coil and the amount of current flowing through it.
The magnetic field of an electromagnet can be turned on and off by controlling the electric current.
When the electric current is switched off, the magnetic field disappears. This is in contrast to permanent