CBE Faculty |

Department of Chemical and Biological Engineering |

University of Wisconsin |

Madison, Wisconsin |

Copyright (C) 2011 Department of Chemical and Biological Engineering

Complete collections of the M-files for both Matlab and Octave in zip or tar.gz file formats are available for download from the following links:

**Matlab**:-
cbe255-matlab-m-files-v0.8.zip cbe255-matlab-m-files-v0.8.tar.gz **Octave:**-
cbe255-octave-m-files-v0.8.zip cbe255-octave-m-files-v0.8.tar.gz

** Computational concepts:** introduction to Matlab, purpose of
Matlab windows, accessing the online help system

** Chemical and biological engineering concepts:** chemical reactions, linear independence
of reactions, reaction rates, production rates

** Computational concepts:** matrices, rank of a matrix,
submatrices, reshaping matrices, solving least squares problems

** Programming concepts:** looping, conditionals, plotting, loading
data from files, writing to the screen

** Broader applications of these concepts:** electrical circuit
theory, network models, linear programming and game theory, financial
models and optimization

Tutorial |

Exercise 2.1:Finding independent sets of reactions. |
Exercise 2.9:Reaction rates from production rates. |
||||

Exercise 2.11:Download this data set with a browser and save it to a file. |

** Chemical and biological engineering concepts:** heat transfer
and mass diffusion, gradient and flux, thermal conductivity,
heat capacity, diffusivity, dimensionless variables

** Computational concepts:** partial differential equations,
implicit differential equations, differential-algebraic
equations, orthogonal collocation, semi-infinite domains

** Programming concepts:** colloc program, functions, scripts,
global statement, ODE solvers in Matlab, ode15i

** Broader applications of these concepts:** transport phenomena,
rate processes, dimensional analysis

Tutorial |

** Chemical and biological engineering concepts:** process systems,
reaction, separation, flash tank, recycle, material balances,
degrees of freedom

** Computational concepts:** solving sets of nonlinear algebraic
equations, Newton's method, Jacobian matrix,

** Programming concepts:** looping, iteration, formatted output to the
screen, user input from the keyboard, nonlinear algebraic
equation solvers in Matlab

** Broader applications of these concepts:** process industries and
chemical manufacturing, designing processes

Tutorial |

** Chemical and biological engineering concepts:** chemical
kinetics, law of mass action, material balance, well-mixed reactor,
reaction rates, production rates, complex dynamics, oscillations,
Zhabotinsky reaction, coupled mass and energy balance for the CSTR

** Computational concepts:** ordinary differential equations, Euler
method, stepsize, relative and absolute errors

** Programming concepts:** functions, scripts, global statement,
ODE solvers in Matlab, ode15s

** Broader applications of these concepts:** dynamical systems,
complex dynamics, oscillations, multiple steady states

Tutorial |

** Chemical and biological engineering concepts:**

** Computational concepts:**

** Programming concepts:**

** Broader applications of these concepts:**

Tutorial |

** Chemical and biological engineering concepts:**
fitting chemical and biological engineering models to data

** Computational concepts:**
optimization, least squares, statistical confidence intervals, normal
and uniform distributions, sampling, mean, variance

** Programming concepts:**
parest.m, ellipse.m, Sundials package, hist, chi2inv, sqrtm, rand, randn

** Broader applications of these concepts:**
Decision making under uncertainty, model discrimination, statistical
methods, random variables, sampling

Tutorial |

Study guide |

Table 1 :Summary of Matlab commands used in CBE 255. |