Motion of charged particles in magnetic field confinement was simulated with singleparticleapproximation. The simulated results differ from those calculated with classical theory.
The singleparticle level densities, calculated with the local density approximation and Fermi gas model respectively, are used to obtain the partition functions.