The gravitational force due to mass of roof,
For the roof to be intact, , So,
Or,
The speed of wind should be less than