ChEn263 — 2019 Course Notes
Numerical Computing
Lectures 1-3: Foundations of Numerical Computing
- Lecture 1 Notes – Numerical Computing
- Lecture 1 Example (Python)
- Lecture 2 Notes – Intro to Excel and Python
- Lecture 2 Example (Excel) – Intro
- Lecture 2 Example (Python Hello World) – Intro
- Lecture 2 Example (Python) – Intro
- Lecture 3 Notes – Units and Error
- Lecture 3 Example (Excel) – Units
- Lecture 3 Example (Python) – Data Types and Error
- Lecture 3 Handout – “Big 13” Units
Lectures 4-5: Structured Programming
- Lecture 4 Notes – Functions
- Lecture 4 Example (Excel) – Functions
- Lecture 4 Example (Python) – Functions
- Lecture 5 Notes – Conditionals
- Lecture 5 Example (Excel) – Conditionals
- Lecture 5 Example (Python) – Conditionals
- Lecture 5 Example 2 (Python) – Conditionals, Key
Lectures 6-9: Loops
- Lecture 7 Video Notes
- Lecture 7 Notes – Arrays
- Lecture 7 Example 1 (Python) – Array Basics
- Lecture 7 Example 2 (Python) – Loops and Array Math
- Lecture 8 Notes – File I/O and Plotting
- Lecture 8 Example (Excel) – File I/O and Plotting, (Lec08_pipe_data.csv)
- Lecture 8 Example (Python) – File I/O and Plotting
- Lecture 9 Notes – Debugging
- Lecture 9 Example 1 (Python) – Debugging, (Key)
- Lecture 9 Example 2 (Python) – Debugging, (Key)
Numerical Algebra
Lectures 10-12: Linear Algebra
- Lecture 10 Notes – Gauss Elimination
- Lecture 11 Notes – Iterative Methods
- Lecture 12 Notes – Numpy Linear Algebra
- Lecture 12 Example (Python) – Numpy Linear Algebra
Lectures 13-16: Nonlinear Algebra
- Lecture 15 Video Notes
- Lecture 15 Notes – Scipy Root Finding
- Lecture 15 Example (Python) – Scipy Root Finding
- Lecture 16 Notes – Optimization
- Lecture 16 Example (Excel) – Optimization
- Lecture 16 Example (Python) – Optimization
Numerical Calculus
Lectures 17-20: Interpolation and Integration
- Lecture 17 Notes – Least Square Fitting
- Lecture 17 Example (Excel) – Least Square Fitting
- Lecture 17 Example (Python) – Least Square Fitting (data, key)
- Lecture 18 Notes – Interpolation
- Lecture 18 Example – Interpolation Concepts
- Lecture 18 Example (Excel)
- Lecture 18 Example (Python) (data)
- Lecture 19 Video Notes
- Lecture 19 Notes – Newton-Coates Integration
- Lecture 19 Example (Excel)
- Lecture 19 Example (Python)
- Lecture 20 Notes – Jupyter and Scipy Integrals. This is a Jupyter notebook. To download the notebook right-click here and select “Save link as”. Here is a pdf copy of the notebook.
- Lecture 20 Example (Jupyter), Key
Lectures 21-23: Initial Value Problems
- Lecture 21 Notes – ODEs and Explicit Euler
- Lecture 21 Example (Excel)
- Lecture 21 Example (Python)
- Lecture 22 Notes – Systems of ODEs
- Lecture 22 Example (Solve_IVP)
- Lecture 22 Example (Systems of ODEs)
- Lecture 23 Notes – Integrating Excel and Python
- Lecture 23 – VBA Handout
- Lecture 23 Example (Macros/VBA)
- Lecture 23 – XLWings Handout
- Lecture 23 Example (XLWings)