Question: please solve it using matlab Social distancing seems to be most effective way to control the spreading of an infectious disease so it becomes important

Social distancing seems to be most effective way to control the spreading of an infectious disease so it becomes important to develop codes to support planning for effective of social distancing for controlling the spread of disease. In this project, we will write codes regarding this. All computer codes will be developed on assumption given below - In case of no social distancing (i.e.100\% socialization), 1 infected person infects 2 more in 4 days - In case of M% socialization, 1 infected person infects 2100M more in 4 days Some examples of rate of spreading with respect to socialization is given in table below. Rate of socialization Rate of spreading of infection 100% socialization 1 infected person infects 2 more in 4 days 90% socialization 1 infected person infects 1.8 more in 4 days 80% socialization 1 infected person infects 1.6 more in 4 days 75% socialization 1 infected person infects 1.5 more in 4 days 70% socialization 1 infected person infects 1.4 more in 4 days 60% socialization 1 infected person infects 1.2 more in 4 days 50% socialization 1 infected person infects 1 more in 4 days 40% socialization 1 infected person infects 0.8 more in 4 days 30% socialization 1 infected person infects 0.6 more in 4 days 25% socialization 1 infected person infects 0.5 more in 4 days 20% socialization 1 infected person infects 0.4 more in 4 days 10% socialization 1 infected person infects 0.2 more in 4 days 0% socialization 1 infected person infects 0 more in 4 days Question for the main code that can help planners estimate in advance how to plan social distancing levels to control spreading according to desired level. (10 points) Q.4 Write a program (using nested if with if and for) that does the following. - Asks the official to enter the initial number "IN" of infected - Asks the threshold number "TNum" under which the officials are targeting to contain the total number of infected - Asks the number of days "ND" for which estimate is required Uses the above input and finds which socializing percentage out of 100%,75%,50%,25%,0% will be needed to keep total expected number "ENum" of infected lower than threshold number "TNum". Note: "ENum" denotes the total expected number of infected in "ND" days (starting with "IN" number of infected) with M% socialization In the end, the program displays following. Dear Planning Officer: We need percent socializing to keep total infected as which is lower than threshold
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
