To create an electromagnet, the material to be magnetized (such as a metal nail) is placed inside a solenoid, the ends of the coils are connected to a circuit that includes a battery.
Current is allowed to flow for a few seconds and then cut off. The polarity of the magnet depends on the direction of flow of current in the solenoid.
Copper has an atomic number of 29, so it contains 29 protons and 29 electrons. ... The atomic weight of copper is 64; it has 29 protons and 35 neutrons.