예제 #1
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()
예제 #2
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()
예제 #3
0
def PVEqualsNRTTemperature():
    space()
    print("Unknown Temperature")
    P = float(input("P= "))
    V = float(input("V= "))
    n = float(input("n= "))
    R = rvalue.menu()
    T = (P * V) / (n * R)
    tempconv.xkelvin(T)
    xagain()
예제 #4
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()