Physics 410/609---Computational Physics
Assignment #5---Due Thursday, April 19, 2012
1) The Gaussian Distribution and the Metropolis Method (See section 11.7
starting on page 435 of CSM and particularly problem 11.17 on page 437):
a) Write a program to generate a Gaussian distribution using the
Metropolis algorithm as described in class and in Sec. 11.7 of CSM.
b) Try multiple values of delta and create runs with 50000 numbers.
Plot histograms of the entire runs and time histories of the first
5000 values.
c) Plot the acceptance ratio as a function of delta.
d) Using the program autocorr (Usage: autocorr maximum_lag