Answer:
h = 3.5 in
Explanation:
The formula for the volume of a square pyramid is
V = (1/3)(area of base)(height).
Here the base area is (7 in)², or 49 in², and the volume is 171.5 in³.
Substituting these values into the formula above yields:
171.5 in³ = (49 in²)(h), so that
171.5 in³
h = ---------------- = 3.5 in
49 in²