Mass in special relativity (including the kinetic energy of the gas) only when it is measured in the center of momentum frame. Just as is the case for single particles, the calculated "rest mass" of such a container of gas does not change when it is in motion, although its "relativistic mass" does change. The container may even be subjected to a force which gives it an overall velocity, or else (equivalently) it may be viewed from an inertial frame in which it has an overall velocity (that is, technically, a frame in which its center of mass has a velocity). In this case,
Numerical model of the Solar System "a", "a") can be calculated from Newton's Law of Gravitation. Each body attracts each other body, the total acceleration being the sum of all these attractions. Next one chooses a small time-step Δ"t" and applies Newton's Second Law of Motion. The acceleration multiplied with Δ"t" gives a correction to the velocity. The velocity multiplied with Δ"t" gives a correction to the position. This procedure is repeated for all other bodies. The result is a new value for position and velocity for all bodies. Then, using these new values one starts over the whole calculation for the next time-step Δ"t". Repeating