Programs like those in AMBER are used not only for calculating geometries and energies, but also for simulating molecular motion, i.e. for molecular dynamics, and for calculating the relative populations of various conformations or other geometric arrrangements (e.g. solvent molecule distribution around a macromolecule in Monte Carlo simulations. In molecular dynamics Newton's laws of motion are applied to molecules moving in a MM forcefield, although relatively small parts of the system (system: with biological molecules in particular modelling is often done not on an isolated molecule but on a molecule and its environment of solvent and ions) may be simulated with quantum mechanical methods. In Monte Carlo methods random numbers decide how atoms or molecules are moved to generate new conformations or geometric arrangements (states) which are then accepted or rejected according to some filter. Tens of thousands (or more) of states are generated, and the energy of each is calculated by MM, generating a Boltzmann distrubution.