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.
Place one to three ears of corn in your microwave oven; leave the husk on the ears of course. Actual microwave times vary depending on how big and how hot yours is, but a general rule of thumb is to cook one ear on high for about three minutes, pausing once at about 90 seconds to turn the corn over.