Modelling Change
Contents
2. Modelling Change#
One of the main goals of scientific computing is to simulate process that change with time. Last week we developed code that simulated exponential growth or decay, and this week we would like to extend this idea to model more general dynamical processes. We will need to understand how to store sequences of values, and then how to display the results graphically. This will require importing external Python libraries and a new type of loop.
What you’ll learn
How to import and use Python libraries
How to use
numpy
arraysHow to repeat code using
for
loopsHow to plot graphs using
matplotlib
2.1. This Week#
Before class read the notes and complete the embedded exercises.
During class work through the workshop.
After class complete and submit the homework.