You are on page 1of 1

// POLYMATH code

//General compressibility factor chart for carbon dioxide whose critical tempera
ture is Tc= 304 K
//and whose critical pressure is Pc= 72.9 atm
d(V)/d(Pr)= Pc/(-R*T/(V-b)^2+2*a/V^3)
Tc =304 . 2
Pc =72 . 9
R=0 . 08206
Tr=l . l
P=Pc*Pr
T=Tc*Tr
b=R*Tc/(8*Pc)
a=27*R^2*Tc^2/(Pc*64)
Z=P*V/ (R*T)
//Initial Conditions:
Pr(0) =0.1
V(0) =3. 71998
//Final Value:
Pr(f)=10

You might also like