The Newton's second law says
ma=F
mx¨=0,my¨=−mg.Equations of motion:
x¨=0,x˙(0)=v0,x(0)=0,y¨=−g,y˙(0)=0,y(0)=h. Solutions:
x(t)=v0t,y(t)=h−2gt22. The lagrangian of the system
L=T−V=2m(x˙2+y˙2)−mgy The Euler-Lagrange equations
dtd(∂x˙∂L)−∂x∂L=0,dtd(∂y˙∂L)−∂y∂L=0, give
mx¨=0,my¨=−mg.-
Comments
Thank you so much .Am very grateful