A short-barrelled machine gun stands on horizontal ground. The gun fires bullets, from ground level, at speed $ u $ continuously for a period of one second, but does not fire outside of this interval.
During this time period, the angle of elevation of the barrel, $ \theta(t) $, decreases from $ \frac{\pi}{4} $ to $ \frac{\pi}{6} $.
How can I find the function for $ \theta(t) $ that will ensure all the bullets land at the same time?
(Assumptions: no air resistance, no recoil of the gun between shots, ground is level, bullets have no size)
This is a somewhat made-up problem. I'm not too sure about how to start, or even if it is possible for them to land at the same time. It's clear that $ \theta(0) = \frac{\pi}{4} $ and $ \theta(1) = \frac{\pi}{6} $ and the result $ t = \frac{2u \sin \theta}{g} $ will probably be useful, but other than that I'm stuck.
Any help much appreciated!
Edit: since asking the question initially I think I've been able to make some progress.
Take the start of the first bullet being fired as $ t = 0 $. Then the time when one of the other bullets lands satisfies
(time delay to fire previous bullets) + (time of flight of this bullet) = (time of flight of first bullet).
$ t + \frac{2u \sin \theta}{g} = \frac{2u \sin \frac{\pi}{4}}{g} $
Differentiating with respect to $ t $,
$ 1 + \frac{2u}{g} \cos \theta \times \frac{d\theta}{dt} = 0 $
But WolframAlpha gives the solution (with $ \theta(1) = \frac{\pi}{6} $ for the last bullet as the boundary condition) as
$ \theta(t) = \sin^{-1} (\frac{u - gt + g}{2u}) $
which does not even pass through $ (t = 0, \theta = \frac{\pi}{4}) $.
What went wrong?