Processing math: 100%

 

 

 

Monte Carlo integration, simple example

If we have a general interval [a,b], we can still use these random number generators through a change of variables z=a+(ba)x, with x in the interval x[0,1].