Question: calculate analytically the value for the RMS. in he first scenario that it equals sqrt(2Dt) as well ad for the second scenario. thanks! dont do
1. Write a program for a one-dimensional random walk a(t), where at every time step the walk goes randomly +1 step on the x axis. Pass in your code, a plot of x versus t, and a plot of the root-mean-square value of z versus time. Numerically estimate the root-mean-square value of r(t) and show it is approximately proportional to 20t, and estimate the constant D. Calculate D analytically, and compare it to your numerical result. Numerically estimate and analytically calculate D again, where every time step the walk is equally likely to go -2, -1, 1, or 2 steps
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
