From 5ce54f21805afea7add57a1541016a13b264bda8 Mon Sep 17 00:00:00 2001 From: robertjcalistri <85811008+robertjcalistri@users.noreply.github.com> Date: Thu, 3 Aug 2023 08:15:55 -0400 Subject: [PATCH] Update ideal_gas_law.py Updated incorrect function calls moles of gas system doctests --- physics/ideal_gas_law.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/physics/ideal_gas_law.py b/physics/ideal_gas_law.py index 5680cf47e..670da23db 100644 --- a/physics/ideal_gas_law.py +++ b/physics/ideal_gas_law.py @@ -72,11 +72,11 @@ def temperature_of_gas_system(moles: float, volume: float, pressure: float) -> f def moles_of_gas_system(kelvin: float, volume: float, pressure: float) -> float: """ - >>> temperature_of_gas_system(100, 5, 10) + >>> moles_of_gas_system(100, 5, 10) 0.06013618199229246 - >>> temperature_of_gas_system(110,5009,1000) + >>> moles_of_gas_system(110,5009,1000) 5476.766101807144 - >>> temperature_of_gas_system(3, -0.46, 23.5) + >>> moles_of_gas_system(3, -0.46, 23.5) Traceback (most recent call last): ... ValueError: Invalid inputs. Enter positive value.