Here are the python programs related to Week 10:

And here are some sections of the SMAC book (Krauth W., "Statistical mechanics: algorithms and computations". OUP Oxford, 2006) related to the topics treated in Week 10:

1.1.3 (Buffon's needle), 1.4.2 (gamma-integral), 1.4.4 (stable distributions)