study of particle

hello everybody,

i want to know how its trajectory is calculate?

this is the second law of newton but which force is considered? and why is it in the lagragian representation?

thank you

SolidworksFlow Simulation