Computational Physics -- Chapter 7
Random Systems
· Monte Carlo integration - compute area of a circle
Use the Monte Carlo method to compute the area of a circle, and hence obtain an estimate for pi.
· Random walk in one dimension
A random walk in one dimension. All of the steps are of unit length.
· Construct a random fractal recursively
An example of a recursive program which constructs a random fractal. This fractal is a variant of a Koch curve, and can be used to study how the length of a fractal curve varies with the measuring scale.
