Last edited 15dec15 by firstname.lastname@example.org
Find this document at http://new.math.uiuc.edu/math198/cmpblld2
Brian Campbell-Deem, Math198
gas.py is the second part of Physible and simulates a box of ideal gas. The program is a modified version of Bruce Sherwood's gas.py. The changes I made were cleaning up the velocity graph a bit to make it more clear, as well as allowing the user to enter the number of particles they want in the box to see how it affects equilibrium rates. I also added a graph that continuously maps the average number of collisions per second, which relaxes to some value after a long time; there is no theory included on this in my narrative, however--it's mostly just a quick tool to show different types of equilibria.