Magnetic field due to infinite wire =================================== The magnitude of the magnetic flux density due to a thin, straight, infinite wire depends on the current through it and the radial distance to the wire. **Notation:** #. :math:`\mu_0` (:code:`mu_0`) is :attr:`~symplyphysics.quantities.vacuum_permeability`. **Conditions:** #. The wire is uniform, straight, and thin. **Links:** #. `Physics LibreTexts, formula 12.3.7 `__. .. py:currentmodule:: symplyphysics.laws.electricity.magnetic_field_due_to_infinite_wire .. py:data:: magnetic_flux_density Magnitude of :attr:`~symplyphysics.symbols.electrodynamics.magnetic_flux_density`. Symbol: :code:`B` Latex: :math:`B` Dimension: :code:`magnetic_density` .. py:data:: current :attr:`~symplyphysics.symbols.electrodynamics.current` flowing through the wire. Symbol: :code:`I` Latex: :math:`I` Dimension: :code:`current` .. py:data:: radial_distance Radial distance to wire. See :attr:`~symplyphysics.symbols.classical_mechanics.distance_to_axis`. Symbol: :code:`r` Latex: :math:`r` Dimension: :code:`length` .. py:data:: law :code:`B = mu_0 * I / (2 * pi * r)` Latex: .. math:: B = \frac{\mu_0 I}{2 \pi r}