Пример #1
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()
Пример #2
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()
Пример #3
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()
Пример #4
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()