Monte carlo simulation of the one-dimensional Random Walk. After the simulation I compare the numerical results with the theoretical prediction that the dispersion R exhibits scaling: R ~ N^a with a=1/2. To detect power-law we use log–log plot.
minghao2016 / 1d-random-walk-and-diffusion Goto Github PK
View Code? Open in Web Editor NEWThis project forked from piresma/1d-random-walk-and-diffusion
One-dimensional Random Walk and diffusion: simulation and scaling
License: GNU General Public License v3.0