PolymathPlus Report
PolymathPlus Report
 📈   Explicit Equations 2022-04-01 18:58

# Explicit Calculations
# Gas pressure from SRK equation of state
# Verified Solution: P = 96.129, z = 0.253814
# Ref.: Prob. 2.9 in Problem Solving in Chemical

P = R*T/(V-b)-alpha*a/(V*(V+b)) # Pressure (atm)
a = 0.42747*R^2*Tc^2/Pc #SRK constant
b = 0.08664*R*Tc/Pc #SRK constant
alpha = (1+m*(1-sqrt(T/Tc)))^2 #SRK constant alpha
m = 0.48508+1.55171*omega-0.1561*omega^2 #SRK constant m
Tc = 304.2 #Critical temperature (K)
Pc = 72.9 #Critical pressure (atm)
R = 0.08206 #Gas constant (L-atm/gmol-K)
omega = 0.225 #Acentric factor
T = 300 #Temperature (K)
V=0.065 # Volume (L/g-mol)
#P = 100 #Pressure (atm)
Tr=T/Tc
Pr=P/Pc
z=P*V/(R*T)

## Calculated values of explicit variables

 Variable Value 1 V 0.065 2 Pc 72.9 3 R 0.08206 4 T 300 5 omega 0.225 6 Tc 304.2 7 a 3.6539244 8 b 0.02966755 9 m 0.82631219 10 alpha 1.0114811 11 P 96.128994 12 Tr 0.98619329 13 Pr 1.3186419 14 z 0.25381366

## General Settings

 number of explicit equations: 14 reporting digits 10