How to assign velocities using a maxwell-boltzmann distribution in Java
<p>I am currently working on a model of gas particles in a container. When I initialise the particles I am currently giving them all the same magnitude of velocity (Varying +/- directions).. I need to find a way to change this so that the velocities follow a maxwell boltzmann distribution.</p>

<p>Does anyone have any idea how to go about this? </p>
