Trong tam giác vuông ABH:
\(tanB=\dfrac{AH}{BH}\Rightarrow BH=\dfrac{AH}{tan30^0}\)
Trong tam giác vuông ACH:
\(tanC=\dfrac{AH}{CH}\Rightarrow CH=\dfrac{AH}{tan40^0}\)
Mà \(BC=BH-CH\)
\(\Rightarrow\dfrac{AH}{tan30^0}-\dfrac{AH}{tan40^0}=40\)
\(\Rightarrow AH=\left(\dfrac{1}{tan30^0}-\dfrac{1}{tan40^0}\right).40\approx21,6\left(m\right)\)