Computational HW 2, Radial Distribution Functions

Radial distribution function for an ideal gas

This week we will compute the radial distribution function for an ideal gas, which will get us ready to do it for a real system next time

First we have to generate a "configuration" of an ideal gas. We'll do it in 2D. Fortunately, this is easy because it just means the x and y for each particle are random between 0 and L.

more ...

Computational HW 1, Statistics and Diffusion

In this homework, we're going to test empirically some of the statistical ideas we saw in class

Problem 1: Random walk on a 1d lattice

In class we looked at how a "random walk" on a 1d lattice leads to diffusion. Let's show that it's true using data

Problem 1a - generating a trajectory for a random walk more ...