Question: Write a computer code in Matlab to generate a phase diagram for n - dodecane. Your code should do the following: Use the Peng -
Write a computer code in Matlab to generate a phase diagram for dodecane. Your code should do the following:
Use the PengRobinson PR equation of state EOS to compute the PVT properties of the component assigned.
Implement a cubic rootsolving algorithm to return the liquid and vapor roots if applicable
Generate a phase diagram for dodecane at the following set of temperatures:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
