Esempio n. 1
0
def pressureTemperaturePressure():
    space()
    print("Unknown Pressure")
    P1 = float(input("P1 = "))
    T1 = tempconv.tempConvChoose("T1")
    T2 = tempconv.tempConvChoose("T2")
    P2 = (P1 / T1) * T2
    print("P2= " + str(P2))
    xagain()
Esempio n. 2
0
def volumeTemperatureVolume():
    space()
    print("Unknown Volume")
    V1 = float(input("V1= "))
    T1 = tempconv.tempConvChoose("T1")
    T2 = tempconv.tempConvChoose("T2")
    V2 = (V1 / T1) * T2
    print("V2= " + str(V2))
    xagain()
Esempio n. 3
0
def pressureVolumeTemperatureTemperature():
    space()
    print("Unknown Temperature")
    P1 = float(input("P1= "))
    V1 = float(input("V1= "))
    T1 = tempconv.tempConvChoose("T1")
    P2 = float(input("P2= "))
    V2 = tempconv.tempConvChoose("T2")
    T2 = (P2 * V2) / ((P1 * V1) / T1)
    tempconv.xkelvin(T2)
    xagain()
Esempio n. 4
0
def pressureVolumeTemperatureVolume():
    space()
    print("Unknown Volume")
    P1 = float(input("P1= "))
    V1 = float(input("V1= "))
    T1 = tempconv.tempConvChoose("T1")
    P2 = float(input("P2= "))
    T2 = tempconv.tempConvChoose("T2")
    V2 = (((P1 * V1) / T1) * T2) / P2
    print("V2 =" + str(V2))
    xagain()
Esempio n. 5
0
def pressureTemperatureTemperature():
    space()
    print("Unknown Temperature")
    P1 = float(input("P1= "))
    T1 = tempconv.tempConvChoose("T1")
    P2 = float(input("P2= "))
    T2 = P2 / (P1 / T1)
    tempconv.xkelvin(T2)
    xagain()
Esempio n. 6
0
def volumeTemperatureTemperature():
    space()
    print("Unknown Temperature")
    V1 = float(input("V1= "))
    T1 = tempconv.tempConvChoose("T1")
    V2 = float(input("V2= "))
    T2 = V2 / (V1 / T1)
    tempconv.xkelvin(T2)
    xagain()
Esempio n. 7
0
def PVEqualsNRTMoles():
    space()
    print("Unknown Moles")
    P = float(input("P= "))
    V = float(input("V= "))
    R = rvalue.menu()
    T = tempconv.tempConvChoose("T")
    n = (P * V) / (R * T)
    print("n= " + str(n))
    xagain()
Esempio n. 8
0
def PVEqualsNRTVolume():
    space()
    print("Unknown Volume")
    P = float(input("P= "))
    n = float(input("n= "))
    R = rvalue.menu()
    T = tempconv.tempConvChoose("T")
    V = (n * R * T) / P
    print("V= " + str(V))
    xagain()
Esempio n. 9
0
def PVEqualsNRTPressure():
    space()
    print("Unknown Pressure")
    V = float(input("V= "))
    n = float(input("n= "))
    R = rvalue.menu()
    T = tempconv.tempConvChoose("T")
    P = (n * R * T) / V
    print("P= " + str(P))
    xagain()