aboutsummaryrefslogtreecommitdiff
path: root/sir_model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sir_model.cpp')
-rw-r--r--sir_model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sir_model.cpp b/sir_model.cpp
index f054c36..9525347 100644
--- a/sir_model.cpp
+++ b/sir_model.cpp
@@ -6,12 +6,12 @@ using namespace std;
const int DAYS = 200, ITER = 10000;
// Population size
-const int POP = 2000;
+const int POP = 10000;
// Model parameters
// Beta = infection rate
// Gamma = removal rate
-const double beta = 0.42, gamma = 0.25;
+const double beta = 0.3944, gamma = 0.02664;
// Compartments
double S[DAYS + 1], I[DAYS + 1], R[DAYS + 1];