A railway flat car, the mass of which together with the artillery gun is M, moves at a speed V. The gun barrel makes an angle a with horizontal. A shell of mass m leaves the barrel at a speed v, relative to the barrel. The speed of the flat car in order that it may stop after the firing is :