Computational Methods

Computational Methods (B22, Term 1)

This course aims to provide students from non-computational backgrounds with the basic knowledge and practical skills for computational methods required today in almost all fields of science.
Python is used as the standard programming language, but the concepts covered can be helpful also in using other computing tools for data analysis and simulation.


Course materials are provided as Jupyter Notebooks (.ipynb), with outputs in pdf for reference.

  1. Introduction: Python, jupyter notebook, data types, if and for, file access [pdf]
  2. Visualization: matplotlib [pdf]
  3. Vectors and matrices: numpy; inverse, eigenvalue/vector, PCA, SVD [pdf]
  4. Functions and classes: name space, object oriented programming [pdf]
  5. Iterative computation: Newton method, discrete-time dynamics [pdf]
  6. Ordinary differential equation: scipy; Euler method, stability, bifurcation [pdf]
  7. Partial differential equation:  separation of variables, space constant [pdf]
  8. Optimization: gradient descent, Gauss-Newton method [pdf]
  9. Sampling methods: Monte Carlo methods, evolutionary algorithms [pdf]
  10. Software management: version control system, build tools [pdf]