Write initial position and velocity.
Write Lagrangian of the system.
, where T is kinetic, and V is potential energy.
Write Euler-Lagrange equations.
The acceleration of this system is equal to .
Reduce the differential equation to lower degree.
integrate both sides.
Since x is decreasing in time (particle going towards origin), pick minus sign, because it is the physical one even though mathematically, both are correct.
Use supposition method to solve the integral.
The integral is now in the form of .
Express the integral in gamma function, and then evaluate the gamma function and integral numerically.
The Gamma function is for .
Hence, the solution to this problem is