@@ -30,19 +30,19 @@ def terminal_velocity(
30
30
>>> terminal_velocity(-5, 50, -0.2, -2)
31
31
Traceback (most recent call last):
32
32
...
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
34
34
>>> terminal_velocity(3, -20, -1, 2)
35
35
Traceback (most recent call last):
36
36
...
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
38
38
>>> terminal_velocity(-2, -1, -0.44, -1)
39
39
Traceback (most recent call last):
40
40
...
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
42
42
"""
43
43
if mass <= 0 or density <= 0 or area <= 0 or drag_coefficient <= 0 :
44
44
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"
46
46
)
47
47
return ((2 * mass * 9.8 ) / (density * area * drag_coefficient )) ** 0.5
48
48
0 commit comments