In this repository you can find the material used for MOD300 and MOD510, which is part of the Computational Engineering program and Modeling at University of Stavanger, Norway. The purpose of the book is to explain how computers solve mathematical models. Many of the most common numerical methods is presented, we show how to implement them in Python, and discuss the limitations. The mathematical formalism is kept (or an attempt has been made to keep it) to a minimum. All the material is available at github. For each of the chapter there is a Jupyter notebook. This makes it possible to run all the codes in the book.
It is hard to learn a programming language without a concrete problem to solve. Much of the learning outcome in this course arrives from working on projects. To get started, check out the COVID-19 project. A full solution, can be found here.
We strongly recommend to install Python from Anaconda.
All documents have been prepared using doconce.
After reading modules 1, 2, (potentially 3) and 4 below, you have the knowledge to start on any of the other modules below.