Question: EXERSICES PROBLEMS 1-Write a program on a workstation that emulales the mathematical epidemic model of Reed and Frost. For purposes of simplicity, fix the number
EXERSICES PROBLEMS 1-Write a program on a workstation that emulales the mathematical epidemic model of Reed and Frost. For purposes of simplicity, fix the number of individuals in the population at 1,000 and fix the maximum number of time periods at 25. However, allow the probability of elective contact and the number of immunes to vary s that the effects of social service programs such as immunization or prevention education can be observed. Thus, the only input to your program wil be the initial number of immunes and the effective contact probablity For output, your program should display in each time period the number of 1 suscepsbles 2. active cases 3. immunes Run the program many times while varying the number of immunes and the probability of effective contact. Sensitize yourself to epidemic patterns and variations. 2- White a program on the workstation that simulates a modified form of the Reed-Frost epidemic model For this modification, assume that all the individuals are standing next to each other in a room Like before, some will be immune. Let one individual be an active case. He can now infedt only his immediate neighbors. In the next time period, those people who got sick now have a chance to infect their neighbors and so on. You will need the same input and output that was described in Problem 1. In addition you may want to input the position of that frst active case The most dramatic output, though, wll be a two-dimensional grid that shows al the individuals in the room and what state they are in (ie., sick, immune, or contagious). As time periods go by, you can watch the disease spread through the room. Run your program many times with different input parameters. How does the pattern of the epidemic flow change with affective contact probability? 240 EXERSICES PROBLEMS 1-Write a program on a workstation that emulales the mathematical epidemic model of Reed and Frost. For purposes of simplicity, fix the number of individuals in the population at 1,000 and fix the maximum number of time periods at 25. However, allow the probability of elective contact and the number of immunes to vary s that the effects of social service programs such as immunization or prevention education can be observed. Thus, the only input to your program wil be the initial number of immunes and the effective contact probablity For output, your program should display in each time period the number of 1 suscepsbles 2. active cases 3. immunes Run the program many times while varying the number of immunes and the probability of effective contact. Sensitize yourself to epidemic patterns and variations. 2- White a program on the workstation that simulates a modified form of the Reed-Frost epidemic model For this modification, assume that all the individuals are standing next to each other in a room Like before, some will be immune. Let one individual be an active case. He can now infedt only his immediate neighbors. In the next time period, those people who got sick now have a chance to infect their neighbors and so on. You will need the same input and output that was described in Problem 1. In addition you may want to input the position of that frst active case The most dramatic output, though, wll be a two-dimensional grid that shows al the individuals in the room and what state they are in (ie., sick, immune, or contagious). As time periods go by, you can watch the disease spread through the room. Run your program many times with different input parameters. How does the pattern of the epidemic flow change with affective contact probability? 240
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
