Description
Read this website about the The SIR Model of Spread of Disease – The
Differential Equation Model:
https://www.maa.org/press/periodicals/loci/joma/
the-sir-model-for-spread-of-disease-the-differential-equation-model
Notice the figure at the bottom of the page showing the population trajectories. You’re going to reproduce that figure.
Implement and compare Euler’s method and RK2 for the SIR system.
Find a stepsize h such that a plot of your trajectories matches the website’s
figure. What value did you get for h for each method, and how did you get
them?
1