Comment by stoched

10 years ago

Let me make this easier:

Lets plug a bunch of numbers into a function and sum them all up. That sum is the integral of the function that we plugged all the numbers into. That's the Monte Carlo method part.

To get the Markov chain part, we just randomly produce a new number based on the one we just got out of the function, to plug back into the equation.