Epidemiology: The SIR model: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
Simulation of differential equations with turtle graphics.
Simulation of differential equations with turtle graphics using [[http://jsxgraph.org JSXGraph]].


===SIR model without vital dynamics===
===SIR model without vital dynamics===
Line 9: Line 9:


:<math> \frac{dI}{dt} = -(dS+dR) </math>
:<math> \frac{dI}{dt} = -(dS+dR) </math>
The lines in the JSXGraph-simulation have the following meaning:
* <span style="color:Blue">Blue: Susceptible population rate</span><br>
* <span style="color:red">Red: Infected population rate</span><br>
* <span style="color:green">Green: Recovered population rate (which means: immune, isolated or dead)</span>

Revision as of 17:34, 21 January 2009

Simulation of differential equations with turtle graphics using [JSXGraph].

SIR model without vital dynamics

A single epidemic outbreak is usually far more rapid than the vital dynamics of a population, thus, if the aim is to study the immediate consequences of a single epidemic, one may neglect the birth-death processes. In this case the SIR system described above can be expressed by the following set of differential equations:

[math]\displaystyle{ \frac{dS}{dt} = - \beta I S }[/math]
[math]\displaystyle{ \frac{dR}{dt} = \gamma I }[/math]
[math]\displaystyle{ \frac{dI}{dt} = -(dS+dR) }[/math]

The lines in the JSXGraph-simulation have the following meaning:

* Blue: Susceptible population rate
* Red: Infected population rate
* Green: Recovered population rate (which means: immune, isolated or dead)