Develop a software "program"1 to plot the equations of state we have discussed in class. The program should allow you to change Tc, Pc, and accentricityfor the substance of interest and then plot a PV diagram for five temperatures using the models specified below. Your five temperatures should include two below Tc, one at and two above Tc. Use your "program" to plot PV diagrams for the following materials/conditions:
(a) Propane using SRK (solid lines) and PR (dashed lines) and ideal gas (dotted line)
(a') Propane using SRK (solid lines) and truncated Virial (dashed lines) and Lee-Kesler(dotted line)
(b) n-Butane using SRK (solid lines) and (dashed lines) and ideal gas (dotted line)
(b') n-Butane using SRK (solid lines) and truncated Virial (dashed lines) and Lee-Kesler (dotted line)
(c) Sulfur dioxide using SRK (solid lines) and PR (dashed lines) and ideal gas (dotted line)
(c') Sulfur dioxide using SRK (solid lines) and truncated Virial (dashed lines) and Lee-Kesler (dotted line)
Experimental data for these fluids is included in the Homework folder. Input the data and include the experimental data on your graphs as points, rather than lines.
Each graph should include a legend. If you are planning to print out your graphs in black and white, there should be six graphs, one for each letter above. Graphs for (a) and (a') should be plotted with the same scale for each axis. If you are planning to print out your graphs in color, you may combine graphs (a) and (a') into the same graph; vary the color, but maintain the solid/dashed/dotted specifications above.