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. #. The vector of the magnetic flux density is oriented in space according to the right-hand rule. **Links:** #. `Physics LibreTexts, formula in the box `__. .. py:currentmodule:: symplyphysics.electromagnetism.magnetostatics.straight_wire.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:: absolute_permeability :attr:`~symplyphysics.symbols.electrodynamics.absolute_permeability` of the medium around the wire. Symbol: :code:`mu` Latex: :math:`\mu` Dimension: :code:`inductance/length` .. 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 * I / (2 * pi * r)` Latex: .. math:: B = \frac{\mu I}{2 \pi r}