Final answer:
The horizontal component of the hammer's velocity just as it leaves the roof is 3.89 m/s.
Step-by-step explanation:
To find the horizontal component of the hammer's velocity just as it leaves the roof, we can use trigonometry. The horizontal component of the velocity is equal to the initial velocity multiplied by the cosine of the angle the roof makes with the horizontal.
Given that the hammer is moving at 5.5 m/s and the angle of the roof is 45 degrees, we can calculate the horizontal component of the velocity as follows:
Horizontal velocity = 5.5 m/s * cos(45 degrees) = 5.5 m/s * 0.7071 = 3.89 m/s
Therefore, the horizontal component of the hammer's velocity just as it leaves the roof is 3.89 m/s.