Chapter 5. Problem Solving with MATLAB
Molar Volume and Compressibility from Redlich-Kwong Equation
Analytical solution of the cubic Redlich-Kwong equation for compressibility factor and calculation of the molar volume at selected reduced temperatures and reduced pressures.
Numerical Methods Utilized
Solution of a set of explicit equations.
MATLAB Options and Functions Demonstrated
Interactive execution of m-files; definitions of scalars and arrays; clearing variables; arithmetic operations; math and logical functions; command window control functions: clc, format and disp; graphing functions: plot, loglog, title, xlabel and ylabel; control flow functions: while, for, if, else, and end; comments.
Work Problem 4.1 ...