Lagrange's planetary equation