an email from a colleague

Some problems with the gas lab:

  1. the temperature slider markings remains at 200 K - 1800 K even when the real temperature is much more when the mass of atoms are changed. Suggest removing the mass slider
  2. particles still flies off at extreme pressure and volume


1. i fixed a calculation error on T so the temperature at the input field is correct now.
the slider is for initial T, no to be confused with the input field instantaneous T
the TKE is correctly calculated now, so no need to remove the m slider

my solution is implemented
i change the variable inside to make the V bigger so it will not encounter the bug.

Ejs Open Source Ideal Gas Model based on Kinetic Theory of Gas
download the latest
version 11