Science activity that demonstrates a magnetic field created by electromagnet