6 Python
6.1 Symbolic calculations
Symbolic calculations ahve been performed using the Python library Sympy.
This library comes with tutorials.
You are encouraged to familiarise yourself with the syntax by working through some of the tutorial examples provided at the links above.
Many of the calculations that we do throughout the course involve solving systems of algebraic equations
6.2 Numerical solution of difference equations
Difference equations have been solved using a for loop. Routinse have been written to solve either single or coupled system of difference equaitons.
6.3 Numerical integration of ODEs
Throughout the notes systems of ODEs have been integrated using the Scipy function odeint.
6.4 Plotting
Line graphs are plotted using the Python library Matplotlib.