We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8484c2 commit 6a8924cCopy full SHA for 6a8924c
electronics/electric_potential_point_charge.py
@@ -1,8 +1,7 @@
1
from __future__ import annotations
2
3
COULOMB_CONSTANT = 8.99e9 # N·m²/C², Coulomb's constant
4
-
5
+"""reference: https://en.wikipedia.org/wiki/Electric_potential"""
6
def electric_potential_point_charge(charge: float, distance: float) -> float:
7
"""
8
Calculate the electric potential at a point due to a point charge.
0 commit comments