Vibrating Buildings
To understand the way buildings behave during earthquakes, you need to know:
How the ground moves.
How buildings vibrate naturally.
How vibrations die out.
Then, you can find out
How earthquakes make buildings vibrate.
from Bristol University