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


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

Solution

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



List all Python Programs