Electrostatic potential energy of two charges via distance ========================================================== Electrostatic potential energy due to two point charges depends on the inverse distance to the distance between the charges. Note that this is the energy of interaction belonging to the entire system. **Links:** #. `Wikipedia `__. .. py:currentmodule:: symplyphysics.laws.electricity.electrostatic_potential_energy_of_two_charges_via_distance .. py:data:: electrostatic_potential_energy Electrostatic potential :attr:`~symplyphysics.symbols.basic.energy` of system. Symbol: :code:`U_E` Latex: :math:`U_\mathbf{E}` Dimension: :code:`energy` .. py:data:: absolute_permittivity :attr:`~symplyphysics.symbols.electrodynamics.absolute_permittivity` of the medium. Symbol: :code:`epsilon` Latex: :math:`\varepsilon` Dimension: :code:`capacitance/length` .. py:data:: distance :attr:`~symplyphysics.symbols.classical_mechanics.euclidean_distance` between the point charges. Symbol: :code:`d` Latex: :math:`d` Dimension: :code:`length` .. py:data:: first_charge Value of the first :attr:`~symplyphysics.symbols.electrodynamics.charge`. Symbol: :code:`q_1` Latex: :math:`q_{1}` Dimension: :code:`charge` .. py:data:: second_charge Value of the second :attr:`~symplyphysics.symbols.electrodynamics.charge`. Symbol: :code:`q_2` Latex: :math:`q_{2}` Dimension: :code:`charge` .. py:data:: law :code:`U_E = q_1 * q_2 / (4 * pi * epsilon * d)` Latex: .. math:: U_\mathbf{E} = \frac{q_{1} q_{2}}{4 \pi \varepsilon d}