Question: MATLAB Consider N = 2000 walkers, each on a different 10 x 10 square. Each walker can only walk along one of the four nearest

MATLAB

Consider N = 2000 walkers, each on a different 10 x 10 square. Each walker can only walk along one of the four nearest neighbors per time steps, and cannot walk back to previously taken steps. Each step is of equal length.

a) For each walker, simulate the program where there is no available site to move to.

b) Using the distance equation, Plot the distance versus time step by two different random walkers.

c) Plot the average value d^2 versus time over all N walkers.

d) Draw a histogram showing the distribution of the total number of steps made by all random walkers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!