SIR Model by Ben Sparks

SIR Model by Ben Sparks
Loading the math board and drawing, please wait…
2020-03-25 01:49
This example demonstrates the SIR model, a mathematical model used to describe the spread of infectious diseases. Key concepts include differential equations and the basic reproduction number R0. Using GeoGebra commands such as NSolveODE, Point, and LaTeX, the example dynamically shows the changes in S, I, and R variables over time. Suitable for high school and above students studying infectious disease dynamics.

GeoGebra Commands & Parameters

  1. NSolveODE({S', I', R'}, 0, {S_{initial}, I_{initial}, R_{initial}}, maxT) → S_{sol}, I_{sol}, R_{sol}
  2. Point(S_{sol}, tt / maxT) → S_t
  3. Point(R_{sol}, tt / maxT) → R_t
  4. Point(I_{sol}, tt / maxT) → I_t
  5. LaTeX(S', true, true) → text4
  6. LaTeX(I', true, true) → text5
  7. LaTeX(R', true, true) → text6