单项选择题

The function of the computer mentioned in the passage is to ______.

A.counterbalance an earthquake's action on the building
B.predict the coming of an earthquake with accuracy
C.help strengthen the foundation of the building
D.measure the impact of an earthquake's vibrations