A boat is moving directly away from the gun on the shore with speed v1. The gun fires a shell with speed v2 at an angle α and hits the boat. The distance of the boat from the gun at the moment it is fired is
See fig. (7)
For shell to hit the boat, the time taken by the boat to go from B to C with velocity v1 should be equal to the time taken by the shell to go from O to A and then A to C, i.e.,
Further,