Viz Monte Carlo
This is part of my course project for undergraduate course Computational condensed matter physics.
In short, Monte Carlo methods is one reflection of the Law of Large Numbers, which indicates that a large number of randomness could present deterministic behaviour in principle. For example, from kinetic theory of gases, we know that a gas is a great amount of particles, whose motions are in nature stochastic, due to colisions with each other and with the walls of container. However, a gas may have stable macroscopic properties, such as pressure, temperature.
Monte Carlo methods are widely used in all computation-related scientific areas. Two common usages are simulation and integration.
The above figure visulizes a classical application of Monte Carlo method to computing .
Denote the indicator random variable of the sector in the figure by and its expectation . We perform independent experiments times. can be approximated as
Then the standard deviation of the approximation error can be bounded above by , as illustrated by the boundary of two swept areas in the above figure.
Despite the fact that Monte Carlo method is free from the Curse of Dimensionality, from error estimate, we know that the rate of convergence (in probablistic sense) of Monte Carlo method is quite slow, in the order of , which migth be too slow in many practial applications.