Skip to content

lexin-chen/StatThermo

Repository files navigation

StatThermo: From equations to executions

This repo contains statistical thermodynamics algorithms. Most are from my statistical thermodynamics course (CHM6461).

I have created a customized Metropolis Monte Carlo algorithm written in Python that can sample the Boltzmann distribution across a variety of functions and temperatures. By plotting the potential energy functions, calculating probability distributions, and computing averages, this algorithm enables a detailed analysis of the system under study.

In addition, I have a scripts that

  • Estimate value of $\pi$ using a Monte Carlo.
  • compare stirling's approximation with actual value.