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()
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()
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()
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()