|
238 | 238 | "\n",
|
239 | 239 | "The simplest possible assumption about how a disease spreads is that each case of disease leads on to some fixed number of new cases every day. \n",
|
240 | 240 | "\n",
|
241 |
| - "```{tikz} \n", |
242 |
| - " [level distance=20mm,level/.style={sibling distance=40mm/#1}]\n", |
243 |
| - " \\node[circle, draw, fill=red!30] {D0}\n", |
244 |
| - " child {node[circle, draw, fill=red!30] {D1}\n", |
245 |
| - " child {node[circle, draw, fill=red!30] {D2}}\n", |
246 |
| - " child {node[circle, draw, fill=red!30] {D2}}\n", |
247 |
| - " }\n", |
248 |
| - " child {node[circle, draw, fill=red!30] {D1}\n", |
249 |
| - " child {node[circle, draw, fill=red!30] {D2}}\n", |
250 |
| - " child {node[circle, draw, fill=red!30] {D2}}\n", |
251 |
| - " };\n", |
252 |
| - "```\n", |
| 241 | + "\n", |
253 | 242 | "\n",
|
254 | 243 | "Day 0: 1 \n",
|
255 | 244 | "\n",
|
|
370 | 359 | "- $I(t)$ be the number of infected individuals at time $t$.\n",
|
371 | 360 | "- $N$ be the total population size (constant over time).\n",
|
372 | 361 | "\n",
|
373 |
| - "```{tikz}\n", |
374 |
| - "% Nodes\n", |
375 |
| - "\\node[draw, circle, fill=blue!30] (S) at (0,0) {S};\n", |
376 |
| - "\\node[draw, circle, fill=red!30] (I) at (2,0) {I};\n", |
377 |
| - " \n", |
378 |
| - "% Arrows\n", |
379 |
| - "\\draw[->, thick] (S) to[out=45,in=135] node[midway, above]{$\\beta S I/N$} (I);\n", |
380 |
| - "```\n", |
| 362 | + "\n", |
381 | 363 | "\n",
|
382 | 364 | "The dynamics of the SI model can be described using a set of ODEs. One of them describes the rate of change in susceptiopal individuals $\\frac{dS}{dt}$ and the other one describes the rate of change in infected individuals $\\frac{dI}{dt}$:\n",
|
383 | 365 | "\n",
|
|
560 | 542 | "\n",
|
561 | 543 | "The acronym SIR stands for Susceptible-Infectious-Recovered, representing the three main compartments of individuals within the population. The $R(t)$ described individuals who have recovered from the disease and have developed immunity to it. Recovered individuals are no longer susceptible to the disease and cannot transmit it to others. In some cases, individuals may also acquire immunity through vaccination.\n",
|
562 | 544 | "\n",
|
563 |
| - "```{tikz}\n", |
564 |
| - "% Nodes\n", |
565 |
| - "\\node[draw, circle, fill=blue!30] (S) at (0,0) {S};\n", |
566 |
| - "\\node[draw, circle, fill=red!30] (I) at (2,0) {I};\n", |
567 |
| - "\\node[draw, circle, fill=green!30] (R) at (4,0) {R};\n", |
568 |
| - " \n", |
569 |
| - "% Arrows\n", |
570 |
| - "\\draw[->, thick] (S) to[out=45,in=135] node[midway, above]{$\\beta S I/N$} (I);\n", |
571 |
| - "\\draw[->, thick] (I) to[out=45,in=135] node[midway, above]{$\\gamma I$} (R);\n", |
572 |
| - "```\n", |
| 545 | + "\n", |
573 | 546 | "\n",
|
574 | 547 | "$$\n",
|
575 | 548 | "\\begin{align*}\n",
|
|
0 commit comments