I was watching a lecture and the professor was explaning how changing or moving magnetic feidls generat electricty in an object. When electricty flows through metal it creates a magnetic field. He took a large coild of wire and ran a current through it.He took a peice of metal that looked like a WOk and sat it on top. It generated current in the woklike metal, therefore creating a magnetic feild. But instead of attracting it repelled. What I want to know is why did it repell. As far as I know all nonmagnetic metals are attracted to magnets. IS it cause the current was alternating or does it matter. He also went on to explain how the maglev train works. A couple of magnets are put on the train directly above the rail. As the train and magnets move it generates current in the rail. The rail then gains a magnetic fields and the train is repelled. It then levetates. This is opposite of how I thought it works. I thought the had magnets lining the track to repell magnets on the train. That and magnets on the bottom of the track that attract a piece of the train that hangs down bellow the track. That's how the Transrapid tgrain in Germany works.