📗 The quizzes must be completed during the lectures. Alternative ways to get the points are listed under "Grading Scheme" on the index page. No Canvas submissions are required. The grades will be updated at the end of the week on Canvas.
This is simple model of pandemic in which green balls represent healthy population, red balls represent infected population. Initially, a fixed fraction of the population is vaccinated and the vaccination is assumed to reduce the infection rate. You can play with different parameters to see the effect of herd immunity and given the rate of infection and the effectiveness of the vaccine.
10
📗 Current stats:
(1) Healthy (green; blue if vax) 0100 percent
(2) Infected (red) 00 percent
(3) Dead (invisible) 00 percent
📗 Pick one person: (an index between 0 and population - 1)
(1) Current status: Healthy
(2) Vaccination: No
📗 Settings (click "Restart" to update):
(1) Initial population: , infected:
(2) Percentage vaccinated: 25 percent
(3) Vaccine effectiveness: 50 percent (infection rate with vaccine)
(4) Infection rate: 75 percent
(5) Death rate: 1 percent
(6) Number of days to recover: 7 days (one second is one day)