Question Solve using Matlab:MATLAB - MATLAB- MATLAB ONLY The Redlich-Kwong equation of state is given by a RT P= V-b (+b)T Where R = 0.518 K is the universal gas constant, T = absolute Temperature (K), P = absolute kg x pressure (kPa), and V = volume of a kg of gas ma pressure (kPa). The parameters a and b are calculated by: Homework 1 R72.5 a = 0.427 P. b = 0.0866R where P. = 4600 kPa and T. = 191 K. As an engineer, you are asked to determine the amount of methane fuel that can be held in a3 mº tank at a temperature of -40°C with a pressure of 65,000 kPa. Use a root-locating method of your choice to calculate and then determine the mass of methane contained in the tank.

LJWCAS The Asker · Mechanical Engineering

Solve using Matlab:

MATLAB - MATLAB- MATLAB ONLY

Transcribed Image Text: The Redlich-Kwong equation of state is given by a RT P= V-b (+b)T Where R = 0.518 K is the universal gas constant, T = absolute Temperature (K), P = absolute kg x pressure (kPa), and V = volume of a kg of gas ma pressure (kPa). The parameters a and b are calculated by: Homework 1 R72.5 a = 0.427 P. b = 0.0866R where P. = 4600 kPa and T. = 191 K. As an engineer, you are asked to determine the amount of methane fuel that can be held in a3 mº tank at a temperature of -40°C with a pressure of 65,000 kPa. Use a root-locating method of your choice to calculate and then determine the mass of methane contained in the tank.
More
Transcribed Image Text: The Redlich-Kwong equation of state is given by a RT P= V-b (+b)T Where R = 0.518 K is the universal gas constant, T = absolute Temperature (K), P = absolute kg x pressure (kPa), and V = volume of a kg of gas ma pressure (kPa). The parameters a and b are calculated by: Homework 1 R72.5 a = 0.427 P. b = 0.0866R where P. = 4600 kPa and T. = 191 K. As an engineer, you are asked to determine the amount of methane fuel that can be held in a3 mº tank at a temperature of -40°C with a pressure of 65,000 kPa. Use a root-locating method of your choice to calculate and then determine the mass of methane contained in the tank.
Community Answer
VWSTEY

Code clc; clear all; %Given Data  R=0.518; Pc = 4600; Tc = 191;  T = -40 + 273; %Temperature should be in Kelvin P = 65000; %Calculate the parameters a & b a = 0.427*(R^2)*(Tc^2.5)/Pc; b = 0.0866*R*Tc/Pc; % Volume Calculation syms v %vo ... See the full answer