A body is thrown vertically upwards with velocity u. The greatest height h to which it will rise is;
u2 /2g
Initial velocity = u m/s, final velocity = 0 , acceleration = - g
Let 'h' be the maximum height. Thus, applying kinematic equation, we get
v2 - u2 = 2 a h
or, 0 - u2 = 2 (-g) h
or, h = u2 / 2g