$${(F-mg)(h-h_0) = \frac{mv^2}{2} - \frac{mv_0^2}{2}}$$