Open ChristerNilsson opened 9 years ago
p = 2269.85 * U.Pa v = 10 * U.m * 3 n = 10 * U.mol R = U.R T = 273 \ U.K
print n * R * T / p
Expected: "10 m3" Got: "10 J/Pa"
U.simplify(n * R * T / p).dimension) returns the expected L3
Formula: pV=nRT
p = 2269.85 * U.Pa v = 10 * U.m * 3 n = 10 * U.mol R = U.R T = 273 \ U.K
print n * R * T / p
Expected: "10 m3" Got: "10 J/Pa"
U.simplify(n * R * T / p).dimension) returns the expected L3