Final answer:
In this case, the ladder acts as the hypotenuse, and the height of the roof and the distance from the base of the ladder to the house act as the other two sides. So we have: The ladder is 5 meters long.
Step-by-step explanation:
To find the length of the ladder, we can use the Pythagorean theorem, which states that in a right triangle, the square of the length of the hypotenuse is equal to the sum of the squares of the lengths of the other two sides.
In this case, the ladder acts as the hypotenuse, and the height of the roof and the distance from the base of the ladder to the house act as the other two sides.
So we have:
Ladder^2 = Height^2 + Distance^2
Ladder^2 = 3^2 + 4^2
Ladder^2 = 9 + 16
Ladder^2 = 25
Ladder = √25 =5
Therefore, the ladder is 5 meters long.