Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need Matlab The Redlich-Kwong equation of state is given by p=vbRTv(v+b)Ta where R= is the universal gas constant (=0.518kJ/kgK),T= absolute temperature (K),p= absolute pressure
I need Matlab
The Redlich-Kwong equation of state is given by p=vbRTv(v+b)Ta where R= is the universal gas constant (=0.518kJ/kgK),T= absolute temperature (K),p= absolute pressure (kPa), and v= the specific volume of gas (m3/kg). The parameters a and b are calculated by a=Pc0.42748R2Tc2,5b=PC0.08664RTc where pc=4600kPa and Tc=191K. As a chemical engineer, you asked to determine the amount of methane fuel that can be held in a 3m3tank at a temperature of 40C with a pressure of 65000kPa. a) Given initial guesses of 2.5103m3/kg and 3.5103m3/kg, do your calculations by hand and calculate v and then determine the mass of methane contained in the tank by performing two iteration steps. b) Develop a bisection program to determine v and then determine the mass of methane contained in the tank with MATLAB. Error tolerance can be taken as 108
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started