Answer: 20 feet
Explanation:
Hi, since the situation forms a right triangle we have to apply the Pythagorean Theorem:
c^2 = a^2 + b^2
Where c is the hypotenuse of the triangle (in this case the diagonal distance covered by the stairs) and a (horizontal distance) and b (vertical distance) are the other sides.
Replacing with the values given:
25^2 = 15^2 + b^2
625 = 225 + b^2
625-225 = b^2
400= b^2
√400 =b
b =20 feet
Feel free to ask for more if needed or if you did not understand something.