next up previous
Next: Where to get the Up: Example - The earthquake-proof Previous: Example - The earthquake-proof

Formulation of the problem

One makes the assumption that the whole mass of the building is concentrating in the ceilings. The steel framework of the building provides elastic restoring forces proportional to the relative lateral displacement of the floors. A damping force (proportional to the relative velocity of the floors) is added.

You will be given C-code to compile and run to study this problem. You should get this program going (as discussed below) in your first session.

The equation of motion for any floor except for the ground floor and the top floor will then be :

displaymath341

where tex2html_wrap_inline347 and tex2html_wrap_inline349 are the displacement and velocity of the nth floor.
c is an elastic constant and b is a damping constant.

The equation of motion of the top floor is similar except the reactions from the floor above are absent.

The ground floor is treated quite differently. We assume that the ground floor has horizontal displacement of the form tex2html_wrap_inline357 imposed on it by the earth. We specify as inputs to the program what the values of A and tex2html_wrap_inline361 are.

How do we organize the program to ensure that the horizontal displacement of the ground floor is tex2html_wrap_inline363 ? By specifying in the derivatives routine (referred to as der above but actually to be called multi below) that:

displaymath342

and:

displaymath343



Keith Jones
Sun Jan 23 14:17:38 EST 2000