A rope hangs from the ceiling. It reaches the floor exactly. It is 4 feet from the wall. When it is pulled to the wall, the end of the rope is 4 inches above the floor. How high is the ceiling?

4" = 1/3 ft

so, reviewing your diagram,

(h - 1/3)^2 + 4^2 = h^2
h = 145/6 = 24'2"

To find the height of the ceiling, we can set up a right triangle. Let's call the height of the ceiling "h" and the length of the rope "x".

Given that the rope reaches the floor exactly, the distance from the wall to the end of the rope forms the hypotenuse of the triangle. So, we can use the Pythagorean theorem:

x^2 = 4^2 + h^2

When the rope is pulled to the wall, the end of the rope is 4 inches above the floor. This means that the length of the rope is now x - 4 inches. So, we have:

(x - 4)^2 = 4^2 + h^2

We have two equations. We can solve this system of equations to find the values of x and h.

1) x^2 = 4^2 + h^2
2) (x - 4)^2 = 4^2 + h^2

Expanding equation 2 and simplifying:

x^2 - 8x + 16 = 16 + h^2

Substituting equation 1 into equation 2:

x^2 - 8x + 16 = x^2 - 8x + 16 + h^2

The x^2 and -8x terms cancel out. We are left with:

16 = 16 + h^2

Simplifying further, we see that:

h^2 = 0

This tells us that the height of the ceiling is 0 feet. However, this doesn't seem reasonable since there is a rope hanging from the ceiling. There must be a mistake in the given information or calculations. Please double-check the problem or provide additional information if available.