According to the conservation of energy, the energies can be written as:
\(\begin{array}{c}{E_i} = {E_f}\\P.{E_i} + K.{E_i} = P.{E_f} + K.{E_f}\\mg{h_i} + \frac{1}{2}mv_i^2 = mg{h_f} + \frac{1}{2}mv_f^2\end{array}\)
\(0 + \frac{1}{2}mv_i^2 = mg{h_f} + \frac{1}{2}mv_f^2\) … (i)
Here,\({E_i}\)is the total energy at the ground at the start of the jump, and\({E_f}\)is the total energy at the top after achieving some height.
The initial height\({h_i}\)is equal to zero,\({h_f}\)is the final height at the top,\({v_i}\)is the initial velocity at the ground, and\({v_f}\)is the final velocity at the top while crossing the bar.
The initial potential energy \(P.{E_i}\) is equal to zero, \(K.{E_i}\) is the initial kinetic energy at the ground, \(P.{E_f}\)is the final potential energy at the top, and \(K.{E_f}\) is the final kinetic energy while crossing the bar.