27.01.2014 Views

An Introduction to Monte Carlo Methods in Statistical Physics.

An Introduction to Monte Carlo Methods in Statistical Physics.

An Introduction to Monte Carlo Methods in Statistical Physics.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Us<strong>in</strong>g <strong>Monte</strong> <strong>Carlo</strong> for Numerical Integration<br />

•Our goal is <strong>to</strong> estimate:<br />

b<br />

y = ∫ f ( x )<br />

a<br />

dx<br />

Acceptance - rejection ("hit and miss") method<br />

Draw a box from a <strong>to</strong> b and from 0 <strong>to</strong> y o where y o > f(x)<br />

Drop N po<strong>in</strong>ts randomly <strong>in</strong><strong>to</strong> the box; N o fall below f(x).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!