It's quite easy to cook up an example where Lagrangian Mechanics is a better idea than Newtonian Mechanics. Just pose a system where there is some dependence and a bunch of variables to keep track of, ...

Minimal example to understand the advantage of Hamiltonian mechanics over lagrangian mechanics – physics.stackexchange.com
Brian
