(These codes have been zipped with WinZip®.
You must unzip them and move them to your current working MATLAB® directory in order to use them.)
- 1-1 Shell and Tube Heat Exchanger Solver
Includes
- Iteratively solve for unknown shell and tube outlet temperatures
- Has a physical property table for water built in
- Doesn't work for cross-over (all hot fluid temps must be greater than all cold fluid temps)
- Ordinary Differential Equation Solver
Includes
- single first order ODE IVP using Euler and Runge-Kutta routines (sysode.m)
- n-equation system of first-order ODE IVP's using Euler and Runge-Kutta routines (sysode.m)
- shooting method (using Euler or RK4) for nth-order ODE BVP's (shooting.m)
- Regression Routines (regress.m)
Includes
- simple regression (single-variable linear regression)
- n-variable linear regression
- nth-order single-variable polynomial regression (e.g. cubic spline)
- Integration Routines (integrate.m)
Includes
- Numerical Integration of a function using the Trapezoidal Rule
- Numerical Integration of a function using Simpson's 1/3 Rule
- Numerical Integration of a function using Gaussian Quadrature
- Numerical Integration of data using the Trapezoidal Rule or Simpson's 1/3 Rule
- Systems of Nonlinear Algebraic Equations Solver
Includes
- 1 non-linear algebraic equations solver (rootfinder.m)
- n-equation system of non-linear algebraic equations solver (syseqn.m)
- An example of solving a system of nonlinear equations: the material balance on an extractor with 2 components in the feed, solvent, extract, and raffinate streams.
|