Skip to content

Commit 71f3534

Browse files
committed
fixed spelling mistake
1 parent 6e4f652 commit 71f3534

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: physics/terminal_velocity.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ def terminal_velocity(
3030
>>> terminal_velocity(-5, 50, -0.2, -2)
3131
Traceback (most recent call last):
3232
...
33-
ValueError: mass, density, area and the drag coeffiecient all need to be positive
33+
ValueError: mass, density, area and the drag coefficient all need to be positive
3434
>>> terminal_velocity(3, -20, -1, 2)
3535
Traceback (most recent call last):
3636
...
37-
ValueError: mass, density, area and the drag coeffiecient all need to be positive
37+
ValueError: mass, density, area and the drag coefficient all need to be positive
3838
>>> terminal_velocity(-2, -1, -0.44, -1)
3939
Traceback (most recent call last):
4040
...
41-
ValueError: mass, density, area and the drag coeffiecient all need to be positive
41+
ValueError: mass, density, area and the drag coefficient all need to be positive
4242
"""
4343
if mass <= 0 or density <= 0 or area <= 0 or drag_coefficient <= 0:
4444
raise ValueError(
45-
"mass, density, area and the drag coeffiecient all need to be positive"
45+
"mass, density, area and the drag coefficient all need to be positive"
4646
)
4747
return ((2 * mass * 9.8) / (density * area * drag_coefficient)) ** 0.5
4848

0 commit comments

Comments
 (0)