Computational Physics - Department of Physics

(Axel Boer) #1

398 12 Random walks and the Metropolis algorithm


0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

0.18

-20 -15 -10 -5 0 5 10 15 20

w(x,t)

stepsx

10 steps

0

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

-40 -20 0 20 40

w(x,t)

stepsx

100 steps

0

0.005

0.01

0.015

0.02

0.025

-40 -20 0 20 40

w(x,t)

stepsx

1000 steps

Fig. 12.5Probability distribution for one walker after 10, 100 and 1000 steps.

Free download pdf