Many times it is not possible to determine an exact solution to a problem because there are random(ish) possible inputs, and therefor random outcomes.

The typical "monte carlo method" goes something like:
1. Determine the possible inputs.
2. Generate the random inputs based on the probability distribution of your inputs.
3. Compute the output based on that particular random input.
4. Compile the results.

history | show excerpt | excerpt history