A gas at thermal equilibrium has particles of all velocities, and the most probable distribution of those velocities is the Maxwellian distribution. The one-dimensional Maxwellian distribution is given by
where f(u) is the number of particles with velocity between u and u+du, mu2/2 is the kinetic energy, and k is Boltzmann’s constant [19]. The constant A is related to the density n by