Question: (2) [20 pt] Write a Matlab function called Prk.m that calculates the pressure of a gas using the RedlichKwong equation of state. It should take

 (2) [20 pt] Write a Matlab function called Prk.m that calculates

(2) [20 pt] Write a Matlab function called Prk.m that calculates the pressure of a gas using the RedlichKwong equation of state. It should take as arguments T,Tc,Pc and (vector) V. It should return the pressure (which may also be a vector). Use this function to generate plots of P vs. V for ethane (Tc= 305.3K,Pc=48.72 bar) at temperatures of 1.1Tc,1.0Tc and 0.9Tc. P=VbRTV(V+b)aa=0.42748PcR2Tc2b=0.08664PcRTc=(T/Tc)1/2 (2) [20 pt] Write a Matlab function called Prk.m that calculates the pressure of a gas using the RedlichKwong equation of state. It should take as arguments T,Tc,Pc and (vector) V. It should return the pressure (which may also be a vector). Use this function to generate plots of P vs. V for ethane (Tc= 305.3K,Pc=48.72 bar) at temperatures of 1.1Tc,1.0Tc and 0.9Tc. P=VbRTV(V+b)aa=0.42748PcR2Tc2b=0.08664PcRTc=(T/Tc)1/2

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!