These effects are derived from two fundamental observations of physics: a steady current creates a steady magnetic field described by Oersted's law, and a time-varying magnetic field induces an electromotive force in nearby conductors, which is described by Faraday's law of induction.
Butter & salt. Preheat the oven to 400 degrees. Husk the corn, wrap each ear in foil, adding 2 teaspoons of butter to each packet. Bake for about 25 minutes or roast the foil-wrapped corn over hot coals turning once during the cooking. Serve with more butter and salt.
1 Place each ear of corn on a separate square of aluminum foil. Place 1 tablespoon of butter on each one, and sprinkle with garlic powder. Wrap ears tightly with the foil.  Place ears of corn on the grill or in the oven for 20 to 30 minutes, turning over occasionally.