Electrostatic force via charges and distance
============================================

The *Coulomb's law* states that the electrostatic force between two point charges
in a vacuum is proportional to their values and inversely proportional to the
square of the distance between them.

**Notation:**

#. :math:`\varepsilon_0` (:code:`epsilon_0`) is :attr:`~symplyphysics.quantities.vacuum_permittivity`.

**Links:**

#. `Wikipedia <https://en.wikipedia.org/wiki/Coulomb%27s_law>`__.

.. py:currentmodule:: symplyphysics.laws.electricity.electrostatic_force_via_charges_and_distance

.. py:data:: electrostatic_force

    Electrostatic :attr:`~symplyphysics.symbols.classical_mechanics.force` between two charges.

Symbol:
    :code:`F`

Latex:
    :math:`F`

Dimension:
    :code:`force`


.. py:data:: first_charge

    First :attr:`~symplyphysics.symbols.electrodynamics.charge`.

Symbol:
    :code:`q_1`

Latex:
    :math:`q_{1}`

Dimension:
    :code:`charge`


.. py:data:: second_charge

    Second :attr:`~symplyphysics.symbols.electrodynamics.charge`.

Symbol:
    :code:`q_2`

Latex:
    :math:`q_{2}`

Dimension:
    :code:`charge`


.. py:data:: distance

    :attr:`~symplyphysics.symbols.classical_mechanics.euclidean_distance` between the charges.

Symbol:
    :code:`d`

Latex:
    :math:`d`

Dimension:
    :code:`length`


.. py:data:: law

    :code:`F = q_1 * q_2 / d^2 / (4 * pi * epsilon_0)`


    Latex:
        .. math::
            F = \frac{1}{4 \pi \varepsilon_0} \frac{q_{1} q_{2}}{d^{2}}