Question: For CO2 using PYTHON. 1. Use the Peng-Robinson EOS to compute the liquid and vapor volumes (if applicable) for any pressure, and temperature. Your code
For CO2 using PYTHON.

1. Use the Peng-Robinson EOS to compute the liquid and vapor volumes (if applicable) for any pressure, and temperature. Your code should prompt the user to choose between vapor/liquid roots. P=VmolbRTVmol2+2bVmolb2a(T,)(T,)0.5=1+(1Tr0.5)(0.37464+1.54220.269922)Tr=TcritialT,a,b,,Tcriticalaremolecularproperties 2. Compute departure functions (the change between a real, and ideal gas) for H,S,G
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
