APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Computer Program Detail Page

Item Picture
Hot and Cold Ideal Gases
written by Todd Timberlake
The EJS Hot and Cold Ideal Gases model simulates the mixing of hot and cold two-dimensional ideal gases in a square box.  This simulation can be used as part of the activity described in "The Statistical Interpretation of Entropy: An Activity" by Todd Timberlake, to be published in The Physics Teacher.

In the model, one gas is initially confined to the left side of the box while the other gas is confined to the right side. An animation window shows the motion of the particles in the box, while an optional graph window plots the temperature of each side of the box, which is determined by measuring the average KE of the particles on each side.  The initial number of particles and temperature on each side of the square can be changed and a button allows the user to reverse the particle velocities at any time.  The user can modify this simulation if EJS is installed locally by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.

EJS Hot and Cold Ideal Gases model was created using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.   Double clicking the ejs_entropy_HotAndColdIdealGases.jar file will run the program if  Java is installed.  EJS is a part of the Open Source Physics Project and is designed to make it easier to access, modify, and generate computer models.  Additional EJS models are available.  They can be found by searching ComPADRE for  Open Source Physics, OSP, or EJS.

Please note that this resource requires at least version 1.5 of Java (JRE).
1 source code document is available
Subjects Levels Resource Types
Thermo & Stat Mech
- Kinetic and Diffusive Processes
= Approach to Equilibrium
- Models
= Ideal Gas
- Second and Third Law
= Entropy
- Lower Undergraduate
- High School
- Upper Undergraduate
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Educators
- application/java
  • Currently 0.0/5

Want to rate this material?
Login here!

Access Rights:
Free access
This material is released under a GNU General Public License Version 2 license.
Rights Holder:
Todd Timberlake
EJS, Easy Java Simulations, OSP, Open Source Physics, entropy, equilibrium, gas expansion, ideal gas, second law of thermodynamics
Record Creator:
Metadata instance created June 18, 2010 by Todd Timberlake
Record Updated:
June 6, 2014 by Andreu Glasmann
Last Update
when Cataloged:
June 18, 2010
Other Collections:

ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
T. Timberlake, Computer Program HOT AND COLD IDEAL GASES (2010), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=10095&DocID=1704).
T. Timberlake, Computer Program HOT AND COLD IDEAL GASES (2010), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=10095&DocID=1704>.
APA Format
Timberlake, T. (2010). Hot and Cold Ideal Gases [Computer software]. Retrieved June 21, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=10095&DocID=1704
Chicago Format
Timberlake, Todd. "Hot and Cold Ideal Gases." https://www.compadre.org/Repository/document/ServeFile.cfm?ID=10095&DocID=1704 (accessed 21 June 2024).
MLA Format
Timberlake, Todd. Hot and Cold Ideal Gases. Computer software. 2010. Java (JRE) 1.5. 21 June 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=10095&DocID=1704>.
BibTeX Export Format
@misc{ Author = "Todd Timberlake", Title = {Hot and Cold Ideal Gases}, Month = {June}, Year = {2010} }
Refer Export Format

%A Todd Timberlake %T Hot and Cold Ideal Gases %D June 18, 2010 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=10095&DocID=1704 %O application/java

EndNote Export Format

%0 Computer Program %A Timberlake, Todd %D June 18, 2010 %T Hot and Cold Ideal Gases %8 June 18, 2010 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=10095&DocID=1704

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in 2 shared folders.

You must login to access shared folders.

Hot and Cold Ideal Gases:

Is Based On Easy Java Simulations Modeling and Authoring Tool

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Hot and Cold Ideal Gases.

relation by Wolfgang Christian
Is Part Of Statistical Interpretation of Entropy Package

Hot and Cold Ideal Gases is part of the Statistical Interpretation of Entropy package.

relation by Todd Timberlake

Know of another related resource? Login to relate this resource to it.
Save to my folders



Related Materials

Similar Materials

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book