Question: Please solve alll Problem setup: To understand the behavior of structures under the influence of disturbances such as strong winds, earthquakes, etc. engineers often model
Please solve alll
Problem setup: To understand the behavior of structures under the influence of disturbances such as strong
winds, earthquakes, etc. engineers often model them as massspring systems. The figure below shows such a repre
sentation for a threestory building.
Considering only the horizontal motion of the structure, Newton's second law gives:
where are the displacements of each floor.
In this project, you will solve these equations using PYTHON to simulate the dynamics of the structure, going from
to seconds. The initial values of displacements and velocities are all zero, except the velocity of first floor is
Method: To solve the equations, you will use the two step midpoint method taught in class, which for a system
of equations: is implemented as:
where is the step size.
Analysis: You will consider three different step sizes of to solve the equations. For each case,
analyze the behavior of all displacements and velocities as a function of time. In addition to that, also analyze if and
how the results change as you reduce the step size. Some portion of the score for the project will be awarded based
on the creativity of the analysis. For instance, you can calculate the relative error of the solution as the step size is
decreased to assess convergence.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
