Skip to content

Commit 6a8924c

Browse files
authored
Update electric_potential_point_charge.py
1 parent e8484c2 commit 6a8924c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

electronics/electric_potential_point_charge.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from __future__ import annotations
22

33
COULOMB_CONSTANT = 8.99e9 # N·m²/C², Coulomb's constant
4-
5-
4+
"""reference: https://en.wikipedia.org/wiki/Electric_potential"""
65
def electric_potential_point_charge(charge: float, distance: float) -> float:
76
"""
87
Calculate the electric potential at a point due to a point charge.

0 commit comments

Comments
 (0)