Update physics/ideal_gas_law.py

Renamed function name

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
This commit is contained in:
robertjcalistri 2023-08-03 08:11:16 -04:00 committed by GitHub
parent 9f684576bb
commit 2beb2071ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ def temperature_of_gas_system(moles: float, volume: float, pressure: float) -> f
return (pressure * volume) / (moles * UNIVERSAL_GAS_CONSTANT) return (pressure * volume) / (moles * UNIVERSAL_GAS_CONSTANT)
def num_moles_of_gas_in_system(kelvin: float, volume: float, pressure: float) -> float: def moles_of_gas_system(kelvin: float, volume: float, pressure: float) -> float:
""" """
>>> temperature_of_gas_system(100, 5, 10) >>> temperature_of_gas_system(100, 5, 10)
0.06013618199229246 0.06013618199229246