Let the lengths of the legs of the right triangle be a and b, and the length of the hypotenuse be c.
According to the Pythagorean theorem, in a right triangle:
a^2 + b^2 = c^2
Given that the length of one leg is 20 ft (a = 20) and the length of the hypotenuse is 30 ft (c = 30), we can substitute these values into the equation:
20^2 + b^2 = 30^2
400 + b^2 = 900
b^2 = 900 - 400
b^2 = 500
b = √500
b ≈ 22.4
Therefore, the length of the other leg is approximately 22.4 ft.