In electromagnetism, magnetostatics equations such as Ampère's Law or the more general Biot-Savart law allow one to solve for the magnetic fields produced by steady electrical currents. Often, however, one may want to calculate the magnetic field due to time varying currents (accelerating charge) or other forms of moving charge.