We solve as follows:
+First, we determine the value of the hypotenuse:
[tex]\cos (38)=\frac{3}{h}\Rightarrow h=\frac{3}{\cos(38)}\Rightarrow h\approx3.8[/tex]Now, we use this to find the missing side (the altitude of the rocket):
[tex]a=\sqrt[]{(\frac{3}{\cos(38)})^2-3^2}\Rightarrow a\approx2.34[/tex]So, the rocket had an altitude of approximately 2.34 Km.