Magnetic field by that loop. Ampère's law is always valid for steady currents and can be used to calculate the -field for certain highly symmetric situations such as an infinite wire or an infinite solenoid. In a modified form that accounts for time varying electric fields, Ampère's law is one of four Maxwell's equations that describe electricity and magnetism. A charged particle moving in a -field experiences a "sideways" force that is proportional to the strength of the magnetic field, the component of the velocity that is perpendicular to the magnetic field and the charge of the particle. This force is known
Magnetic field work needed also depends on how the magnetic field is created. For linear non-dispersive materials, though, the general equation leads directly to the simpler energy density equation given above. A changing magnetic field, such as a magnet moving through a conducting coil, generates an electric field (and therefore tends to drive a current in such a coil). This is known as "Faraday's law" and forms the basis of many electrical generators and electric motors. Mathematically, Faraday's law is: where formula_27 is the electromotive force (or "EMF", the voltage generated around a closed loop) and is the "magnetic flux"—the product of