mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 02:18:39 +00:00
Update physics/ideal_gas_law.py
Renamed function name Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
This commit is contained in:
parent
9f684576bb
commit
2beb2071ce
@ -70,7 +70,7 @@ def temperature_of_gas_system(moles: float, volume: float, pressure: float) -> f
|
||||
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)
|
||||
0.06013618199229246
|
||||
|
Loading…
x
Reference in New Issue
Block a user