1) Molecular dynamics (MD) simulations numerically solve Newton's equations of motion to simulate the physical movements of atoms and molecules over time.
2) The Verlet algorithm is commonly used to integrate the equations of motion in MD simulations. It calculates new positions and velocities at each time step based on the forces between particles.
3) MD simulations sample the ensemble of all possible configurations over time. If run long enough, time averages from the simulation converge to ensemble averages, in accordance with the ergodic hypothesis. This allows MD to connect microscopic dynamics to macroscopic thermodynamics.