Physics 410/609---Computational Physics
Assignment #5---Due Thursday, November 30, 2006
1) Complete Problem 6.4 part c-f on pages 151-152 of CSM.
2) Complete Problem 6.6 on pages 153-154 of CSM. You may use or modify
program ~sg/findroot.c if you like.
3) The Gaussian Distribution and the Metropolis Method (see 11.17 page 437
of CSM)
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