22 Nov 2022 - Modeling an Ideal Gas
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.
You can copy this program into your own glowscript account (create one with a Google account).
Add more gas particles.
Add random speeds and locations to those particles.
Calculate the temperature using the equipartition theorem and plot it.