Provided: - Ladder length \( h = 5 \, \text{m} \).
- Rate of change of distance \( y \) (distance of the foot from the wall) is \( \frac{dy}{dt} = -2 \, \text{m/s} \).
- The foot of the ladder is \( y = 3 \, \text{m} \) from the wall.
Applying the Pythagorean theorem: \[ x^2 + y^2 = h^2 \].
Differentiating with respect to time \( t \): \[ 2x \frac{dx}{dt} + 2y \frac{dy}{dt} = 0 \].
Substituting known values: \[ 2x \frac{dx}{dt} + 2(3)(-2) = 0 \].
This simplifies to: \[ 2x \frac{dx}{dt} - 12 = 0 \], which further simplifies to \[ x \frac{dx}{dt} = 6 \].
Solving for \( \frac{dx}{dt} \): \[ \frac{dx}{dt} = \frac{6}{x} \].
To determine \( x \), we use the Pythagorean theorem: \[ x^2 + 3^2 = 5^2 \].
This gives \[ x^2 + 9 = 25 \], leading to \[ x^2 = 16 \], and thus \[ x = 4 \, \text{m} \].
Therefore: \[ \frac{dx}{dt} = \frac{6}{4} = 1.5 \, \text{m/s} \].
Conclusion: The height on the wall is increasing at a rate of \( 1.5 \, \text{m/s} \) when the foot of the ladder is 3 m from the wall.