You will set up a simulation of a
number of particles in a box at a given temperature. This means
microscopically that the distribution
of velocities must display the Boltzmann distribution as a set of
initial conditions.
The particles will be run initially without interactions (ideal gas).
The particles must be reflected at the walls of the box, and the
momentum
impulse contributes to the pressure on the wall. Later, inter-particle
forces will be introduced, and deviations from the ideal gas law
measured.
You should write a programme to use your ParticlesForceBox class
that reads its initial particle state, runs it for some time,
and, when finished, both prints the average pressure over this time
interval and prints the final particle state to a new file.