Skip to content

Commit e7d4d83

Browse files
authored
Update electric_potential_point_charge.py
1 parent 85b870c commit e7d4d83

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

electronics/electric_potential_point_charge.py

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

3-
""" https://en.wikipedia.org/wiki/Electric_potential"""
43
COULOMB_CONSTANT = 8.99e9 # N·m²/C², Coulomb's constant
54

6-
75
def electric_potential_point_charge(charge: float, distance: float) -> float:
86
"""
97
Calculate the electric potential at a point due to a point charge.
@@ -43,5 +41,4 @@ def electric_potential_point_charge(charge: float, distance: float) -> float:
4341

4442
if __name__ == "__main__":
4543
import doctest
46-
4744
doctest.testmod()

0 commit comments

Comments
 (0)