Lagrange's equations Integrable and nonintegrable systems mathematics