NMD relies on solving Newton's equations of motion for a system of interacting particles. The interatomic forces are typically derived from potential energy functions, and these forces are used to compute the accelerations of the particles. The positions and velocities of the atoms are updated iteratively over time steps, allowing researchers to observe the system's evolution.