Skip to content

Commit 03b9e72

Browse files
authored
Update hookes_law.py
1 parent 77382d1 commit 03b9e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

physics/hookes_law.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"""
1616

1717

18-
def hookes_law(spring_contant: float, displacement: float) -> float:
18+
def hookes_law(spring_constant: float, displacement: float) -> float:
1919
"""
2020
Calculate the Hookes law from the given values of spring constant 'k'
2121
and the displacement 'x' from the equilibrium position.

0 commit comments

Comments
 (0)