A cone-shaped hat is shown:

A cone is shown with slant height 18 cm and radius 5.7 cm. The unknown height is labeled with a question mark, and the line joining the tip of the cone to the base is perpendicular to the base.
What is the approximate height of the hat? (5 points)

3.51 centimeters, because height = Square root of the difference of 18 and 5.7

17.07 centimeters, because height = Square root of the difference of the squares of 18 and 5.7

18.88 centimeters, because height = Square root of the sum of the squares of 18 and 5.7

4.87 centimeters, because height = Square root of the sum of 18 and 5.7

The correct answer is 17.07 centimeters, because the height can be found using the Pythagorean theorem:

height = sqrt((slant height)^2 - (radius)^2)
height = sqrt(18^2 - 5.7^2)
height = sqrt(324 - 32.49)
height = sqrt(291.51)
height ≈ 17.07 centimeters