Question: Implement a simple epidemiological model by writing an Octave script. Create an array of time values using t = 0:dt:50 where dt = 0.2 is
Implement a simple epidemiological model by writing an Octave script. Create an array of time values using t = 0:dt:50 where dt = 0.2 is the time step. Within a for loop over n, update the number of cumulative cases using cm(n + 1) = cm(n) + (R0 1) cm(n) dt=nd where nd = 6 is the germination time in days. Choose a value for the disease R0.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
