The volume formula of a square pyramid is :

Where b is the side of the square base
h is the height of the pyramid
From the problem, the volume of the pyramid is V = 972 in^3
the height is 1/2 of the base, so h = b/2
Using the formula above :
![\begin{gathered} 972=(1)/(3)b^2((b)/(2)) \\ 972=(1)/(6)b^3 \\ b^3=5832 \\ \sqrt[3]{b^3}=\sqrt[3]{5832} \\ b=18 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/u2ahve4ymzod728lz8lyfknm8zg2uvfxbe.png)
The height will be :

The answer is 9 inches