In which way are a bar magnet and an electromagnet similar?
A bar magnet and an electromagnet are always magnetised when stored.
A bar magnet and an electromagnet can both be used to separate magnetic and non-magnetic materials.
A bar magnet can be made of steel and an electromagnet uses a steel core.
The magnetic field strength of a bar magnet and of an electromagnet can both be varied.