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.

<strong>Monte</strong> <strong>Carlo</strong> Solution of Boundary<br />

Value Problems<br />

Often have a differential equation with a boundary condition<br />

∇<br />

2<br />

2<br />

2<br />

u = ∂ x / ∂ x + ∂ x / ∂ y = 0<br />

2<br />

2<br />

Laplace' s equation<br />

where u(r) = f on the boundary. Re-express as a f<strong>in</strong>ite<br />

difference equation us<strong>in</strong>g a small <strong>in</strong>crement ∆,<br />

∇<br />

2<br />

u =<br />

=<br />

⇒ u<br />

[ u ( x + ∆ , y ) + u ( x − ∆ , y ) + u ( x , y + ∆ ) + u ( x , y − ∆ ) − 4 u ( x , y ) ]<br />

0<br />

( x , y ) =<br />

[ u ( x + ∆ , y ) + u ( x − ∆ , y ) + u ( x , y + ∆ ) + u ( x , y − ∆ ) ]/<br />

4<br />

/ ∆<br />

2

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

Saved successfully!

Ooh no, something went wrong!