Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4183443

Browse files
committedOct 9, 2024·
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6a8924c commit 4183443

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎electronics/electric_potential_point_charge.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

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

0 commit comments

Comments
 (0)
Please sign in to comment.