Use the image to answer the question.

An illustration shows a square pyramid with labeled parts. The left, front, and right faces of the pyramid and base are visible. The back face is not visible, but its position is indicated by a dashed line. The back base edge is not visible, but its position is indicated by a dashed line. The left base edge is labeled a. The back left lateral edge is labeled e. A dotted line extends from the interior of the vertex straight down to the center of the base and is labeled h. A right angle is indicated where the dotted height line meets the base. Another dotted line extends from the center of the base where the height line meets to the center of the right base edge and is labeled r. A dotted line extends from the right base edge straight up the center of the right face of the prism and meets the height line at the vertex. The dotted slant height line is labeled s.

For the square pyramid, the lateral edge length, e , is 25 in., and the slant height, s , is 24 in. Find the height of the pyramid, h . Round the answer to the nearest whole number. Hint: Before finding the length of h , you will first need to find the length of r
.

(1 point)
The height of the square pyramid is in.

To find the height of the pyramid, we first need to find the length of r. Since r is the distance from the center of the base to the center of the right base edge, it is half of the length of the right base edge.

From the image, we can see that the length of e is 25 in., which is also the length of the right base edge. So, the length of r is 25/2 = 12.5 in.

Now, we can use the Pythagorean theorem to find the height h. The slant height s is the hypotenuse of a right triangle with h as one of the legs. The other leg is r.

Using the Pythagorean theorem, we have:

s^2 = h^2 + r^2
24^2 = h^2 + 12.5^2
576 = h^2 + 156.25

Subtracting 156.25 from both sides, we get:

576 - 156.25 = h^2
419.75 = h^2

Taking the square root of both sides, we get:

h = √419.75
h ≈ 20.48

Rounding to the nearest whole number, the height of the square pyramid is 20 inches.