Dynamical astronomy