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 n-dodecane. Your code should do the following:
Use the Peng-Robinson (PR) equation of state (EOS) to compute the PVT properties of the component assigned.
Implement a cubic root-solving algorithm to return the liquid and vapor roots (if applicable).
Generate a phase diagram for n-dodecane at the following set of temperatures: ,0.8,0.9,1.0,1.1,1.25,2.0.
 Write a computer code in Matlab to generate a phase diagram

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!