Equations of astronomy