Given:
Initial speed of the ball, u = 15 m/s
Angle of projection with horizontal, α = 60°
Distance of the wall from the point of projection = 5 m
a = g = 9.8 m/s2 (Acceleration due to gravity)
We know that the horizontal range for a projectile is given by
As the horizontal range of the projectile is 19.88 m, the ball will hit the wall 5 m away from the point of projection. If the wall is 22 m away from the point of projection, the ball will hit the wall because it is not in its horizontal range.