Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 585 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 585 Bytes

SIR_model

Custom ODE solver (Euler method) to solve the SIR model differential equations.

Files

File name Utility
sir_model [.ipynb or .py] SIR class implementation and main method.
ODESolver [.ipynb or .py] General class to solve an ODE with a subclass to numerically integrate using the forward Euler method.

SIR Plot

SIR Plot

SIR plot for ndays = 90 with a resolution (npoints) = 1000
beta varies over time as a result of preventive measures (social distancing, washing hands, etc.)