The project will involve determining the roots of a virial equation of state with cubic order dependency on specific volume. This program can be used in the future for helping to determine phase transition on the PVT surface for any PEOS.
We want to do this in an object-oriented way, where the specific parameters will be supplied in separate functions apart from the main program.
Any PEOS can be put into virial form, so this program can be used for any specific PEOS, including RK, van der Walls, Peng Robinson, etc.
We will use the Peng Robinson parameters which will be supplied as a separate function.
Matlab or Python is permitted.
The virial EOS is discussed in Chapter 6 of your book, so you can begin reading about….