Final answer:
The height of the building is approximately 20.41 m.
Step-by-step explanation:
To find the height of the building, we can use the equations of motion for an object in free fall. We know that the stone was thrown straight upward with an initial velocity of 20.0 m/s and just misses the edge of the roof on its way down. This means that its final velocity when it hits the ground is 0 m/s. We also know that the acceleration due to gravity, g, is approximately 9.8 m/s^2.
Using the equation v^2 = u^2 + 2as, where v is the final velocity, u is the initial velocity, a is the acceleration, and s is the distance:
0^2 = 20.0^2 + 2*(-9.8)*s
Simplifying the equation:
s = (20.0^2)/(2*9.8) = 20.41 m
Therefore, the height of the building is approximately 20.41 m.