random walk formula is attach as well as the sir model excel sheet that need to be copied

You must submit your programs (spreadsheets, python programs, or Java programs) and report.pdf

1. report.py (report your findings, graphs, and answers for all questions)

2. Q1.py or Q1.java

3. Q1.xlsx (which shows how you get the graphs)

containing a short report for each of the question. You should clearly describe your approaches that have

led to your findings.

1. Suppose a random walker moves in a grid of size 100 x 100 cell. The walker will start position 50 x 50

and will make 1000 moves. Randomly distributed in the grid are n (n= 1, 5, 50) contaminants or sources

of infectious material. Whenever the random walker reaches a grid position with such a contaminant it

is marked as infected and will stay infected for the remainder of the walk (so you could actually

terminate the walk at this point). Conduct computational experiments to explore the following:

a) The probability of the walker to become infected as a function of the number of contaminants in

the grid.

b) The probability of the walker to become infected as a function of the length (i.e., number of steps)

of the random walk.

c) The probability of the walker to become infested as a function of “average step-size”. For this you

need to alter the average distance covered by each step the walker makes. The actual step size of

each step must be an integer and is chosen from a distribution.