Just a bit of math(s) help: you can work out the height reached like this. When the ball goes up, its starting velocity is v and its final velocity is 0. Since the ball undergoes constant deceleration due to gravity, the average velocity is v/2. It keeps up that average speed for v/32 seconds so the maximum height is ....

BB