Computer simulation of physical systems I

PHYS-403

Task Va: Basic Monte-Carlo integration

This page is part of the content downloaded from Task Va: Basic Monte-Carlo integration on Wednesday, 25 December 2024, 21:51. Note that some content and any files larger than 50 MB are not downloaded.

Description

Task Va: Basic Monte-Carlo integration


Page content

1. Estimating the value of pi, and the related error by Monte-Carlo integrations.

2. Ising model by Metropolis algorithm. (optional, skip the part relative to the finite size effects)

Recommended: use the notebook files for pi and ising.

Alternatively, you can download the template code: Task5a_new.zip

Download the instructions: Task5a.pdf
The correction for this exercise can be found here.