The ceiling of a hall is 40m high. For maximum horizontal distance, the angle at which the ball can be thrown with a speed of 56ms−1 without hitting the ceiling of the hall is:
Range R=v2sin2θg
Height H=v2sin2θ2g
40=562×sin2θ2g
⇒sin2θ=0.25
⇒sinθ=0.5
⇒θ=300
If the angle is more than 300, it will hit the ceiling
Range R=v2sin2θg=562sin600g=271.5m