CHBE 230: Computational Methods (Spring 2016)

Instructor Information
Instructor: James J. Feng
Email: jfeng(at)chbe(dot)ubc(dot)ca
Offices: CHBE 209 (Phone 604-822-8875); MATX 1206 (Phone 604-822-4936)
Office Hours: by appointment (please e-mail)
Teaching Assistants
Our graduate TA's, Michael Chernos and Masoud Daneshi, will lead the Wednesday afternoon tutorials, mark your assignments and quizzes, and hold office hours.

TA Office Hours: Monday 1-2 pm every week, but the venue alternates weekly:

Michael, at ICICS 221X (2366 Main Mall): Jan 18, Feb 1, Feb 22, Mar 7, 21, Apr 4.
Masoud, at PPC 213 (2385 East Mall): Jan 25, Feb 8, 29, Mar 14, 28.
Tue Thu, 3:30 - 5 pm, Location: CHEM B250

Tutorials: biweekly on Wed 2 - 4 pm (Jan 13, 27, Feb 10, 24, Mar 9, 23, Apr 6), Location: CHBE 314 + 318.
S. E. Chapra: Applied Numerical Methods With MATLAB for Scientists and Engineers.
(3rd edn.) ISBN-10: 0073401102; ISBN-13: 978-0073401102, McGraw-Hill (2011).

UBC Bookstore has new and used books for purchase or rental. Besides, an online version of the textbook is also available.

MATLAB will be required for our course. The software package is available on all CHBE machines in the computer labs (CHBE 314). Besides, you can install the 2X client on your own laptop computer according to the instructions posted on our CHBE 230 home page on connect.
Exams and grading formula

Final Grade = final exam (50%) + midterm (30%) + tutorial & quizzes (10%) + homework (10%)
  • Midterm: tentatively scheduled for Feb 11, 3:30-4:45 pm in CHEM B250.
  • Final: date and time to be announced, to be written in Computer Rooms.
  • Missing a quiz or the midterm results in a score of 0, except with prior consent of the instructor or with a doctor's note. In these latter cases, you will receive no score from the missed quiz or midterm, and its weight will be shifted to the other quizzes or the final exam. If you have a legitimate reason for missing the midterm, for example, your final exam will count for 80% of the grade.
  • Weekly assignments will be posted on the course website on Manhattan. Due dates will be announced later. Late homework will receive no point.
Course Outline
Topics Textbook
Introduction to MATLAB and programming
Chapters 2, 3 (self study) See textbook
Introduction to computation
Chapters 1, 4 3
Engineering examples
Numerical methods
Roundoff and truncation errors
Root finding and optimization
Chapters 5 - 7
Incremental search
Secant Method
1D optimization: golden-section search
Solution of linear systems
Chapters 8 - 12 6
Direct vs. iterative methods
Gauss elimination, with pivoting
Tridiagonal system - 1D heat equation
LU decomposition
Matrix inverse
Gauss-Seidel iteration
Newton-Raphson for nonlinear systems
Curve fitting
Chapters 14, 15
Linear regression
Polynomial regression
Multiple linear regression
Introduction to nonlinear regression
Chapters 17, 18
Linear interpolation
Lagrange polynomial
Cubic spline
Numerical Integration & differentiation
Chapters 19 - 21
Trapezoidal rule
Simpson's rules
Multiple Integrals
Richardson extrapolation
Romberg Integration
Numerical differentiation: high-order formulas
Differentiation with Richardson extrapolation
Ordinary differential equations Chapters 22, 24
Initial value problems
Euler's method
Runge-Kutta methods
Systems of ODE's
Boundary value problems
The shooting method
Finite difference method
Total hours