I have tried integrating $v dv = \frac{-G M}{x^{2}} dx$ to get the popular $v = \sqrt{2 G M \left( \frac{1}{x} - \frac{1}{h} \right)}$.
After this, I used trigonometric substitutions to get time in terms of height. Since the equation obtained (written below) is transcendental, I can't express height as a function of time.
How do I express height as a function of time? Is there some other method of solving the differential equation or is the equation necessary entirely different?
The equation I am getting is $\sqrt{ \frac{h^3}{2 G M}} \left( \frac{\pi}{2} - \arcsin \left( \sqrt{\frac{x}{h} } \right) + \frac{1}{h} \sqrt{x \left( x - h \right) } \right) = t$