Grigoriy S. answered 12/05/22
AP Physics / Math Expert Teacher With 40 Years of Proven Success
You need to use the law of conservation of energy.
In the beginning the ball has only kinetic energy K = 1/2 mv2. At the top the ball has only potential energy U = mgh.
According to the law of conservation of mechanical energy K = U.
Or 1/2mv2= mgh. After cancelling mass, we will have for maximum height
h = v2/2g
Hope you can plug in the values of velocity and free fall acceleration by your own.
Interesting that the maximum height does not depend on mass of the body.