Question: Please write this code in MATLAB..... 4) Too Soon The following model is used to describe the spread of infectious disease. S' I' R' =
Please write this code in MATLAB.....

4) Too Soon The following model is used to describe the spread of infectious disease. S' I' R' = -BSI BSI - vl vi = Where S represents the susceptible population (those who can become ill), I represents those who are ill and spreading the disease, and R represents those who have recovered and are no longer susceptible or spreading the disease. 1 Using = 4x10-9 ) persons.day day' susceptible population of 100 million persons, and an initial infected population of 30 persons, solve the differential equation over a 180-day time span, and plot the three populations on a single figure a) Save the S(t) vector on HW7_12.dat b) Save the R(t) vector on HW7_13.dat 4) Too Soon The following model is used to describe the spread of infectious disease. S' I' R' = -BSI BSI - vl vi = Where S represents the susceptible population (those who can become ill), I represents those who are ill and spreading the disease, and R represents those who have recovered and are no longer susceptible or spreading the disease. 1 Using = 4x10-9 ) persons.day day' susceptible population of 100 million persons, and an initial infected population of 30 persons, solve the differential equation over a 180-day time span, and plot the three populations on a single figure a) Save the S(t) vector on HW7_12.dat b) Save the R(t) vector on HW7_13.dat
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
