Question: use matlab and screenshot the code for question 5 pls 5. Redlich-Kwong (RK) model is popularly used for equation of state and is described by

5. Redlich-Kwong (RK) model is popularly used for equation of state and is described by a P= RT -b VV +b) . where RPT a=0.42748 . 274 RT a, b=0.08664 . and a = 1 TS T,= ), For asymmetric molecules, the accuracy is improved by Redlich-Kwong-Soave (RKS) model which is the same as RK except that a ={1+ m{l T.:" ), where m = 0.480 +1.5740 0.1760? and ) is the Pitzer acentric factor. We want to quantify the error of RK in the molar volume of methanol at T = 300 C(=573.15 K) assuming that RKS represents reliable physical properties. Namely, the relative error is defined as com RAS RX RKS The thermodynamic properties of methanol at the critical point are T. = 512.6 K, P = 79.9 atm, and V = 0.1761/mol. The Pitzer acentric factor of methanol is a = 0.559. Develop a script file HW6_5_YourLastName.m that calculates and plots the error & ly-axis) as a function of pressure P(x-axis). In the graph, the range of the pressure is 20 atm s P s 70 atm and the minimum of the & axis should be 0. Label both axes in the graph. Explain why the error decreases as the pressure decreases. (Hint: Because T >T, and P
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
