Methods of analytical dynamics