- qspec. e_el ( u , q )[source]
-
The potential energy difference
$$ E_\mathrm{pot} = qU. $$- Parameters:
-
- uarray_like
An electric potential difference $U$ (V).
- qarray_like
The electric charge $q$ of a body (e).
- Returns:
-
- E_potndarray
The potential energy difference $E_\mathrm{pot}$ of a body with electric charge
qinside an electric potential with voltageu(eV).