Description
1. First, take a look at this code here:
https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/chapters/cha p11.ipynb
2. Now, tweak the values of π (=1/tc) and π (=1/tr) and generate the graph of time against infection for eight (8) pairs of these values. Mark the maximum infection moment with a blue dot.
3. Next, read the code in this link carefully:
https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/chapters/cha p13.ipynb
4. Now, generate graph of π against fraction of infection for π in {0.2, 0.4, 0.6, 0.8, 1.0}. Likewise, generate graph of π against fraction of infection for π in {0.2, 0.4, 0.6, 0.8, 1.0}. See the code in the link to see how to do it.
5. Lastly, imagine you divide the population into four compartments: S, I, R, and V (for vaccinated). If the vaccination rate is π°, then π
V/π
t should be π°S2, and π
S/π
t should be -πSI – π
V/π
t. Implement this SIR-V model, i.e. SIR model with vaccination. Your code should not implement vaccination like this code here:
https://colab.research.google.com/github/AllenDowney/ModSimPy/blob/master/chapters/cha p12.ipynb
Your code should be well-commented.
The programming language should be Python 3.
1. Robert M. Grell, A Di erential Equations Analysis of Pandemic Disease Spread in an Apocalyptic State. Source: https://dra.american.edu/islandora/object/1112capstones%3A33/datastream/PDF/view
http://www.math-cs.gordon.edu/courses/mat225/projects/p2/duke-sir.pdf
4. 3Blue1Brown, Playlist: βCOVID-19β. Source: https://youtube.com/playlist?list=PLZHQObOWTQDOcxqQ36Vow3TdTRjkdSvT
5. Primer, Video: βEpidemic, Endemic, and Eradication Simulationsβ. Source: https://www.youtube.com/watch?v=7OLpKqTriio
6. David Randall Miller, βI programmed some creatures. They Evolved.β Source:
Reviews
There are no reviews yet.