The code uses the SRK EOS written for a single component to plot isotherms, compute gas and liquid molar volumes and to plot vapor pressure versus temperature for ethane.
Please visit these links for a paper by Z. Nasri and H. Binous where all equations are given as well as the same calculations performed with Mathematica:
Housam Binous (2020). Applications of the Soave-Redlich-Kwong Equation of State using Matlab (https://www.mathworks.com/matlabcentral/fileexchange/17932-applications-of-the-soave-redlich-kwong-equation-of-state-using-matlab), MATLAB Central File Exchange. Retrieved .