Skip to the content.

Solving ODEs in Python

This repository contains source code and Jupyter notebooks for the lecture notes “Solving Ordinary Differential Equations in Python”, which was written for the introductory programming course “IN1900 – Introduction to Programming with Scientific Applications” at the University of Oslo.

The purpose of the notes is to explain how to write generic and usable ODE solvers in Python. Parts of the notes are based on “A Primer on Scientific Programming with Python”. A complete pdf version of the notes can be found here.

Source code for code examples

Most of the code examples are available for download as regular .py files:

Jupyter notebooks for all book chapters

All the chapters of the book are available as Jupyter notebooks.

It should be noted that the notebooks have been automatically generated from the book source files and may contain minor bugs and inconsistencies. Be particularly aware of the following: