The SIR model divides the population into Susceptible, Infected, and Recovered. Move the controls and find out why vaccinating part of the class also protects those who were not vaccinated.
S, I, and R are fractions of the population, from 0 to 1 (0.3 = 30% of the people). The symbol Δ means "how much it changes from one day to the next."
The susceptible go down: each meeting between a susceptible person and an infected one can become a new case.
New cases come in; those who recover go out.
Those who recover become immune and do not catch it again.
γ (gamma): the fraction of the sick who recover each day.
β (beta): the strength of contagion per day.
When more cases come in than go out:
(dividing both sides by γ · I and remembering that β / γ = R₀)
Vaccinating a fraction v of the population takes those people out of S. The epidemic stops growing when
Create an interactive simulator in a single HTML file (HTML, CSS, and JavaScript together, no external libraries and no server), in English. TOPIC: the SIR model of epidemics, with vaccination. FOR WHOM: 11th grade students, Biology and Mathematics. WHAT THE STUDENT CAN CHANGE: R₀, days sick, and % vaccinated; buttons with examples for flu, mumps, and measles. WHAT APPEARS ON SCREEN: a chart of the S, I, and R curves over 180 days, the infection peak, the day of the peak, and the total number of people who got sick. QUESTION THE SIMULATOR HELPS ANSWER: why does vaccinating part of the population protect those who were not vaccinated? EXTRAS: a message that tells when vaccination has passed the herd immunity threshold, the equations explained step by step with the current values of the controls, large fonts for projecting in class, light and dark mode.