Lagrangian mechanics has proven to be the most elegant theoretical method in solving dynamic problem