next up previous
Next: Variance reduction Up: Monte Carlo error analysis Previous: Exercise 10.1: One dimensional

Exercise 10.2: Importance of randomness

To examine the effects of a poor random number generator, modify your program to use the linear congruential random number generator using the parameters $a=5$, $c=0$, $M=32$, and the seed $x_1=1$. Repeat the integral of the previous exercise and compare your results.



Adrian E. Feiguin 2004-06-01