we have the displacement occurred to be
s = (v2- u2) / 2a
here.
s = h
u = u
v = 0
a = -g
so,
h = (0 - u2) / 2(-g)
thus,
maximum height travelled will be
h = u2/ 2g
A body is thrown vertically upwards with velocity u. The greatest height h to which it will rise is;