expt3Bissectionin
expt3Bissectionin
% Parameters a and b
a = 0.427 * R^2 * Tc^2.5 / Pc;
b = 0.0866 * R * Tc / Pc;
% Given values
T = -40 + 273.15; % Convert temperature to Kelvin
P = 65000; % Pressure in kPa
V_tank = 3; % Tank volume in m³
Output:
Converged in 45 iterations.
The amount of methane that can be held in the tank is 1068.22 kg.