The kinetic energy of each molecule is given by:
The Maxwell-Boltzmann distribution is given by the following equation:
K = (1/2)m(vx^2 + vy^2 + vz^2)
f(vx, vy, vz) = (m / 2πkT)^(3/2) exp(-m(vx^2 + vy^2 + vz^2) / 2kT)