Investigation of a new formulation of the Lagrange method for constrained dynamic systems