State the factors on which the strength of an electromagnet depends. How does it depend on these factors ?

An electromagnet is a temporary magnet which works on the magnetic effect of the current. It consists of long coil of insulated copper wire wound around a soft iron core and he two ends of he coil are connected to a battery. As the current flows through the coil, the magnetic field lines ae produced. These field lines sustains till the current continues to flow through the coil of electromagnet.