Write a function to calculate the Temprature T of ideal gas based on ideal gas equation Pressure P and Volume V given


Topic: Write a function to calculate the Temprature T of ideal gas based on ideal gas equation Pressure P and Volume V given

Solution

def find_temp_of_ideal_gas(pressure:float, volume:float,n:float)->float:
    r = 8.3145 # gas constant R
    return (pressure*volume)/n*r



List all Python Programs