Using Lagrangian mechanics instead of Newtonian mechanics When studying advanced classical mechanics, we all study about Lagrangians and the Euler-Lagrange equations and their importance. Of course, the Lagrangian is calculated based on the potential and kinetic energy. But usually, this is calculated using the position function and some constants. For example, potential energy can be defined as:
$$U(x) = - \int F(x)dx$$
and
$$F = ma \, .$$
This means that potential energy can be defined with mass and acceleration, which is the second derivative of the position function. Of course kinetic energy is defined as 
$$(1/2) mv^2 \, .$$
Again, kinetic energy is defined with mass and velocity, the derivative of the position function. As you can see, it is kind of repetition to use the position function to derive the Lagrangian to figure out the dynamics of a system because that is what the position function tells you. So, what is the point of the Lagrangian? I heard from @Sofia that it may be used when only the potential and kinetic energy functions are known. But in what practical experiments it that done? It id much easier to find the position function. So what uses of the Lagrangian are there that can't be done with the position function? 
 A: It's not necessarily the case that the Lagrangian formalism does things Newton's formulation can't do. It does, however, make solving certain systems a whole lot easier. Let's take the example of a double pendulum, or even a single pendulum. When doing Lagrangian mechanics, instead of flailing around in the dark taking sines and cosines and trying to determine the forces exerted on every object individually, you have a very cut-out process:
1) Choose appropriate coordinates. (You should do this in Newtonian mechanics too!)
2) Calculate $T = \frac 1 2 m (\dot x^2 + \dot y^2 + \dot z^2)$ using a coordinate transformation.
3) Find the total potential energy (this can often be as simple as transforming the vertical coordinate and writing $mgh$ in your coordinates!).
4) Turn the mathematical Euler-Lagrange crank, and there's your equation of motion!
Lagrangian dynamics reduces problems that would be very complicated to, basically, a simple and routine calculation. In addition, it's slightly more general - Newton only works in inertial frames while Lagrangian formulations work in arbitrary frames of reference. This is potentially very useful.
In another vein, Lagrangian dynamics is the easiest formulation to generalize to field theory, which makes up a lot of modern theoretical physics. Seeing Lagrangians first in this concrete sense helps a lot with the transition to abstract field theories that the Lagrangian actually ends up defining. In other words, in many ways Lagrangian mechanics is getting ready for the abstraction of field theory.
