22 Nov 2022 - Modeling an Ideal Gas#

As we discovered, we can obtain some information about the ideal gas by considering it using energy states and the tools of statistical mechanics. Instead, what if we tried to build this from ground up. Below is a link to a 3D program that models the motion of a particle in a box.

Link to Program

You can copy this program into your own glowscript account (create one with a Google account).

  1. Add more gas particles.

  2. Add random speeds and locations to those particles.

  3. Calculate the temperature using the equipartition theorem and plot it.