A fighter aircraft is flying horizontally at an altitude of 1500m with speed of 200m/s. The aircraft passes directly overhead an anti-aircraft gun. The muzzle speed of the gun is 600m/s.
We are required to find the angle to the horizontal at which the gun should fire the shell to hit the air-craft.
Here is how I did it:
I assumed that the shell will hit the aircraft at time $t$ secnods. During which the horizontal distance traveled by the former will be $600\cos(\theta)t$ meters and that by the later will be $200t$ meters.
Now, since shell will hit the aircraft, both the horizontal distances will be equal
$\implies 600 \cos(\theta) t = 200t$
$\implies \cos(\theta) = \dfrac{1}{3}$
$\implies \theta = \cos^{-1}({{1}\over{3}})$
Which is the right answer! According to my book.
But I think something is wrong with my calculation. I did not consider the altitude at which the aircraft was flying. My calculation was independent of the altitude.
Would the altitude make no difference to the angle at which the shell should be fired.
What if the altitude was 1000m?
Or what if the altitude was more than the maximum height the shell could reach, my calculation still won't be affected.
Is this the right way of doing this?