According to the question the situation is shown below:-
Now, The horizontal distance travelled by the shell = Distance travelled by plane
or
or
or
So,
So, the required height will be:-
or
or
or