Hi!
The answer would be 22.5m
Step-by-step explanation
To calculate the distance the ball travels, you would need to apply the following formula from the equations of motion for an accelerating object:
2as = v^2 - u^2
Where a is acceleration due to gravity, 9.8m/s^2
s is the distance traveled by the object (height of ball in this case)
v is the final velocity, which we know will be zero at the point where the ball reaches maximum height.
u is the initial velocity, which is known to us as 21m/s
Rearranging the equation to solve for the height:
s = (v^2 - u^2 ) / 2a
s = ( 0^2 - 21^2 ) / 2(-9.8)
s = - 441/ - 19.6
s = 22.5m
Note: since gravity is acting against the object's motion, it will be negative
Hope this helps!