Question: Statistical physics 2 ( G 0 3 2 ) HW 1 ( Sep. 2 7 2 3 : 5 9 ) ( 1 ) Simulate

Statistical physics 2(G032) HW1( Sep. 2723:59)
(1) Simulate two-dimensional random walk from the origin (0,0) for three different number of steps N=10,N=100,N=1000. Number of iterations is 5. You can use any program whatever you can use. (e.g. python, excel, mathlab, etc.)
(2) Find the average of r2 when N=100 for 1000 iterations. r is distance from the origin.
(3) Calculate (:r2:) and compare this to the result of (2).
Statistical physics 2 ( G 0 3 2 ) HW 1 ( Sep. 2 7

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 Programming Questions!