hm#6

17
Structural Dynamics HW # 06 04/28/2015 Student ID: 20145189 Name: Rith Makara

Upload: rith-makara

Post on 11-Nov-2015

6 views

Category:

Documents


2 download

DESCRIPTION

gpp

TRANSCRIPT

Structural Dynamics

HW # 06

04/28/2015

Student ID: 20145189Name: Rith Makara

CONTENTContent1Lists Of Figures And Table1Chapter 1 Solution Strategies21.1 Introduction21.2 NewmarkS Linear-Acceleration Method21.3 MATLAB Calculation21.3.1 General Information21.3.2 Manual For Calculation3Chapter 2 Results Of The Final Response Of The Structural System4Annex MATLAB Codes4Annex 1.1 Newmark_Linear.m5Annex 1.2 Northridge.m5Annex 1.3 Data_Input.m11Annex 1.4 Calculation.m12 LISTS OF FIGURES AND TABLEFigure 1 Responses of the Water Tower to the Northridge Earthquake in 19974Table 1 Summary of Maximum value of relative responses4

Homework #6by Rith MakaraCHAPTER 1 SOLUTION STRATEGIES1.1 IntroductionThe problem is to determine the relative responses of the water tower subjected to the Northridge Earthquake ground motion in 1997, Beverly Hills, USA. The relative responses are: relative displacement of the tower with respect to the ground, relative velocity and relative acceleration based on the numerical solution, Newmarks Linear-acceleration method. 1.2 Newmarks Linear-acceleration methodThe responses of the structural system can be determined as following: Displacement Response

Velocity Response

Acceleration Response

1.3 MATLAB Calculation1.3.1 General InformationThe numerical solution of Newmark is solved in MATLAB software. The results of relative responses of the structural system are plotted in the figure window and the command windows. In this calculation, the 4 different files: newmark_linear.m This file contains the codes to solve the dynamic response of the structural system based on the Linear-acceleration method. The function is called newmark_linear(M,C,K,f,dt,Xi,Xdi,Xddi) where: [Annex 1.1] M Mass of the structure, [kips.sec2/in] C Damping Coefficient, [kips.sec/in] K Stiffness of structure, [kips/in] f Vector of applied force at each time (Ground Motion), [kips] dt Time Stepping Increment, [sec] Xi Initial displacement of the structure at t = 0 sec Xdi Initial velocity of the structure at t = 0 sec Xddi Initial acceleration of the structure at t = 0 sec northridge.m This file contains the earthquake records of Northridge, Beverly, USA in 1997. The record is the acceleration of the ground motion. The initial conditions are also included. The time stepping increment is 0.02 sec. Moreover, the acceleration of ground motion is stored in the matrix Acc_Ground_Raw. The matrix data is read row by row and the first value is at 0.02 sec. The initial acceleration at t = 0 is zero. [Annex 1.2] data_input.m This file contains the structural properties such as mass, stiffness, damping ratio, damping coefficient, natural frequency [rad/sec], period frequency [sec], natural frequency [Hz] and it also calls the file containing the Earthquake data (northridge.m). [Annex 1.3] calculation.m This file contains the codes to solve the problem by calling the function of Newmarks Linear-acceleration method. After the it finishes its calculation process, the results of relative displacement, relative velocity and relative acceleration of the structural system will be shown in the Command Window of the MATLAB which the first column is the time in [sec], second column is displacement in [in], third column is velocity in [in/sec] and the last column is acceleration in [in/sec2]. The graphical responses also appear in the Figure Window of MATLAB. [Annex 1.4]1.3.2 Manual for calculation1 Input the earthquake record (i.e. Acceleration of ground motion) as in northridge.m.2 Input the Structural Properties in the data_input.m.3 Press F5 or click Run in data_input.m.4 The results show in Figure Window and Command Window of MATLAB.

CHAPTER 2 RESULTS OF THE FINAL RESPONSE OF THE STRUCTURAL SYSTEM

Figure 1 Responses of the Water Tower to the Northridge Earthquake in 1997

Table 1 Summary of Maximum value of relative responsesNRelative ResponseTimes [sec]Max. Value

1Displacement, [in]10.8-11.31385

2Velocity, [in/sec]10.62-96.0693

3Acceleration, [g]10.82.55812

ANNEX MATLAB CODESAnnex 1.1 newmark_linear.m%Newmark Linear Acceleration Method%by Rith Makara%2015function [X,Xd,Xdd] = newmark_linear(M,C,K,f,dt,Xi,Xdi,Xddi)%===================================================================% M = Mass% C = Damping% K = Stiffness% f = Excitation Force% dt = Time Stepping Increment% Xi = Initial Displacement% Xdi = Initial Velocity% Xddi = Initial Acceleration %Calculation %Displacement Response:X = (f+(M/dt^2)*(6*Xi+6*Xdi*dt+2*Xddi*dt^2)+(C/dt)*(3*Xi+2*Xdi*dt+0.5*dt^2*Xddi))/((6*M/dt^2)+(3*C/dt)+K); %Velocity Response:Xd = (-dt*0.5*Xddi)+(-2*Xdi)+(3*(X-Xi)/dt); %Acceleration Response:Xdd = (6/dt^2)*(X-Xi-Xdi*dt-(dt^2*Xddi/3));

Annex 1.2 northridge.m%====================================% Earthquake Data in "Northridge"%====================================% by Rith Makara% 2015%% This data is the Acceleration of ground motion.%% Note:% - The data is read row by row.% - The first value is at t = 0.02.% - Acceleration at t=0 is zero.% - The length unit is in cm must be converted to in.% => 1cm = 1/2.54 in.%% Initial ConditionXi = -0.466/2.54; % Displacement at t=0, [cm]Xdi = -2.103/2.54; % Velocity at t=0, [cm/sec]Xddi = 0; % Acceleration at t=0, [cm/sec2] % Time Incrementdt = 0.02; % in [sec] % Acceleration of the ground motionAcce_Ground_Raw = [ 6.631 3.507 1.628 1.105 .426 .239 -.268 -1.836 -1.490 1.413 -1.058 1.669 11.676 11.498 -.292 -16.718 -12.282 -3.280 -12.029 -6.913 6.389 2.310 -5.904 9.685 32.806 23.401 -15.683 -15.219 8.594 3.664 -15.019 -12.219 2.795 -.868 -23.312 -22.668 -3.011 14.520 30.337 39.065 36.790 12.630 -17.251 -14.937 21.762 6.732 -37.137 -48.789 -23.042 9.566 6.434 -11.687 -13.133 1.484 17.164 31.773 50.788 56.771 39.988 8.471 -17.859 -31.123 -19.605 -24.157 -32.509 -2.944 30.007 34.488 14.554 17.979 34.052 26.806 -3.467 -12.177 -1.120 -9.885 -11.577 20.501 35.997 6.747 3.131 28.972 30.817 5.910 .192 21.992 24.779 6.046 -21.194 -16.333 -9.682 -30.831 -46.281 24.774 55.871 27.659 25.448 .806 -15.054 -25.989 -18.055 15.471 42.646 1.175 -31.603 -19.700 41.819 33.823 -23.018 -.710 58.469 28.386 -19.721 -9.670 24.702 33.988 -25.627 -25.844 -10.466 -17.184 -2.566 15.854 32.333 31.102 21.012 28.228 50.301 12.622 -55.401 -38.923 12.643 29.613 20.582 5.350 -14.359 -21.573 -34.748 -48.361 -56.144 -15.885 29.617 62.503 61.005 33.362 20.347 7.701 10.663 8.118 -10.295 -18.686 -3.667 -14.729 -23.832 -17.179 -17.810 -20.604 -33.637 -63.799 -70.541 -71.257 -86.420 -111.259 -149.117 -176.432 -195.400 -205.543 -194.262 -165.674 -114.914 -51.642 14.999 63.970 75.111 78.128 86.390 110.699 134.045 151.540 154.017 136.620 94.194 23.983 -49.854 -141.404 -245.879 -319.399 -259.345 -177.312 -164.663 -176.006 -204.756 -224.208 -237.658 -251.012 -262.776 -271.101 -200.768 57.735 237.388 250.180 219.397 241.161 364.465 522.455 592.639 530.561 387.353 257.495 195.322 36.985 -31.164 -87.099 -160.401 -160.738 -146.940 -131.187 -122.258 1.576 107.674 126.812 114.541 155.548 253.640 295.395 221.070 106.817 14.893 -105.565 -168.170 -188.051 -197.387 -177.969 -147.465 -92.114 -65.983 13.269 113.466 122.523 82.688 21.892 -15.222 9.398 75.679 105.576 100.364 92.705 103.684 121.915 118.130 104.211 92.810 125.016 208.272 319.066 343.108 188.524 31.456 -74.293 -121.512 -114.386 -87.929 -83.921 -97.082 -73.189 -51.019 -58.499 -74.379 -79.314 -78.996 -69.738 -61.937 -53.481 -62.716 -115.771 -173.413 -196.697 -213.409 -204.258 -86.420 11.763 34.407 33.554 10.266 -22.609 -69.772 -83.993 -64.863 -9.340 14.391 8.590 -33.850 -93.350 -118.480 -125.363 -109.392 -77.453 -40.444 -23.334 -23.274 -16.422 8.492 20.750 8.536 -18.186 -46.961 -75.950 -102.980 -124.318 -140.198 -138.212 -115.221 -99.537 -100.088 -146.983 -210.587 -245.826 -270.141 -283.844 -292.593 -285.135 -273.764 -234.439 -146.178 -52.684 28.303 99.574 165.351 203.626 231.317 265.072 324.970 383.159 407.198 401.323 344.396 289.029 270.463 264.361 234.916 199.091 195.612 249.059 307.808 291.271 181.198 51.682 -26.918 -56.998 -61.628 -46.141 -9.431 16.821 15.442 -21.986 -61.879 -75.936 -69.944 -34.505 21.057 58.035 66.910 48.370 11.697 -16.879 -32.755 -55.714 -84.084 -103.067 -101.301 -84.217 -30.177 48.332 86.500 102.673 93.390 65.670 30.590 -24.429 -82.942 -131.043 -164.972 -188.538 -213.553 -228.202 -241.988 -217.195 -100.152 18.533 77.551 86.274 40.527 -40.596 -88.293 -97.396 -81.402 -24.911 23.556 32.266 25.409 12.892 7.433 11.098 19.958 37.354 58.334 65.644 58.458 -5.703 -106.134 -164.682 -190.848 -194.339 -184.484 -170.491 -155.539 -124.959 -66.614 -7.617 38.709 71.243 88.355 95.837 104.996 110.326 95.167 69.473 59.580 70.973 87.223 105.349 120.794 134.818 157.993 178.708 184.526 155.867 111.171 73.722 39.677 15.792 -5.619 -7.166 14.434 33.735 37.623 27.086 10.774 -13.177 -45.419 -80.424 -108.821 -132.197 -143.777 -133.292 -93.688 -17.634 61.016 100.168 121.680 145.655 165.761 172.114 160.597 132.685 93.041 44.138 -18.689 -57.320 -71.721 -73.808 -72.536 -77.302 -87.235 -96.663 -89.461 -70.490 -60.096 -61.262 -64.301 -70.576 -78.390 -77.269 -56.662 -19.798 16.526 41.795 48.709 33.274 7.921 -3.370 7.442 12.980 2.394 -16.398 -29.278 -30.490 -21.874 -10.216 -5.083 -12.053 -23.855 -35.965 -53.583 -67.776 -74.873 -71.776 -56.920 -27.742 5.587 36.743 68.662 93.249 101.775 93.464 78.765 64.789 54.647 37.828 7.699 -20.255 -23.787 -11.420 -3.311 -.038 3.549 4.718 -6.515 -23.807 -37.818 -50.611 -65.949 -82.923 -97.283 -110.416 -113.412 -97.492 -74.731 -48.095 -19.411 8.058 30.059 39.990 27.175 -12.085 -47.360 -66.148 -76.433 -69.868 -48.337 -18.820 13.105 33.744 44.569 46.268 41.195 46.303 59.866 70.583 74.544 66.786 57.925 50.306 37.321 -2.527 -41.297 -48.784 -10.411 48.026 71.615 73.004 61.029 46.098 26.979 9.119 -4.685 -8.703 -10.430 -13.602 -7.481 1.471 9.603 14.239 17.818 21.137 32.461 55.226 80.286 94.228 92.178 63.367 8.333 -33.141 -53.647 -63.831 -61.064 -51.798 -42.406 -30.351 -13.411 4.422 20.774 33.459 37.094 28.165 17.473 11.476 7.604 5.453 2.293 -5.840 -14.676 -16.569 -17.083 -14.391 -3.513 10.774 13.784 3.025 -11.713 -24.086 -21.727 -11.227 -1.234 6.680 13.678 16.722 13.888 6.899 -.500 -3.254 .236 4.495 9.882 17.492 20.481 24.386 26.395 28.379 29.027 24.305 18.104 10.808 -1.352 -17.203 -30.768 -40.290 -38.893 -28.943 -23.072 -21.149 -17.834 -14.884 -12.047 -3.917 .520 -.738 -2.622 -.059 5.807 5.645 .183 -3.008 2.704 9.785 9.560 2.290 -4.043 -9.169 -13.885 -20.152 -28.421 -37.281 -45.875 -52.963 -56.927 -55.294 -44.673 -25.070 -5.901 6.364 7.895 5.652 1.738 -.149 -1.526 -2.528 -2.205 -2.252 -4.182 -7.775 -7.935 -6.243 -2.815 1.425 7.422 8.461 4.369 .606 2.364 8.336 12.784 16.074 10.495 -.998 -11.129 -9.060 4.442 19.164 24.206 14.575 3.102 -5.494 -10.561 -16.586 -21.740 -20.896 -13.931 -8.571 -8.126 -10.583 -8.235 1.271 10.161 19.944 27.640 33.363 35.554 32.862 24.566 11.724 2.455 3.078 11.385 15.184 15.126 17.608 23.386 29.531 32.646 32.309 32.918 29.184 17.574 .780 -15.997 -21.936 -22.169 -22.226 -24.645 -33.261 -43.153 -48.820 -44.800 -28.386 -9.394 6.504 12.494 9.157 2.535 -7.252 -19.079 -31.982 -38.200 -34.175 -25.268 -19.945 -19.366 -22.580 -26.824 -28.121 -25.884 -20.359 -12.924 -2.423 8.928 19.514 27.115 31.694 31.484 25.028 17.006 10.062 1.911 -3.846 -9.493 -15.415 -17.369 -13.856 -6.312 -.484 2.938 4.902 7.069 5.327 1.032 -2.012 1.333 10.834 23.032 35.954 47.122 52.994 49.420 40.585 30.536 22.110 11.978 -1.962 -13.413 -16.038 -12.222 -10.317 -8.719 -6.688 -6.398 -7.935 -5.656 3.352 12.597 16.007 10.717 2.764 -.593 .303 2.494 9.708 19.609 25.458 27.675 25.839 20.358 10.120 -5.264 -19.046 -27.029 -33.042 -39.722 -41.835 -32.211 -14.059 6.986 25.292 38.371 42.770 36.878 23.530 7.662 -5.059 -13.488 -16.487 -14.940 -9.203 -3.309 1.655 5.429 7.765 5.685 .745 -1.170 -1.237 -1.404 -1.678 -3.964 -2.309 3.244 11.513 21.111 25.368 25.046 17.410 6.368 -1.646 -7.340 -10.280 -10.150 -6.948 -4.024 -7.153 -9.665 -11.893 -11.306 -10.151 -7.873 -2.632 1.068 4.140 4.048 4.296 3.088 -3.281 -13.397 -23.568 -30.573 -33.965 -30.851 -20.420 -8.308 2.796 8.327 5.628 -1.019 -7.096 -12.021 -11.991 -6.164 2.227 9.423 13.179 17.580 18.362 15.192 15.148 17.928 19.988 14.944 3.461 -10.766 -23.334 -28.730 -27.077 -23.076 -19.565 -18.787 -15.540 -7.832 1.235 12.530 22.805 32.365 35.257 27.817 12.522 -.700 -5.602 -9.119 -12.987 -14.734 -9.056 2.447 11.920 12.029 4.033 -4.157 -6.989 -4.695 .790 5.812 5.934 -1.381 -10.771 -13.297 -7.609 1.609 6.950 7.400 6.230 3.782 -.536 -5.901 -9.097 -9.828 -9.083 -6.926 -6.416 -9.407 -12.147 -9.143 -4.784 .753 1.383 -.764 -.961 -.788 1.409 1.783 1.417 -3.197 -10.752 -17.665 -20.416 -13.781 .112 14.079 24.855 30.105 30.672 26.108 22.642 24.925 24.852 22.117 17.529 11.474 7.799 5.826 3.998 1.669 -.398 -.813 -3.379 -2.897 .883 5.106 9.625 12.662 14.202 13.738 15.499 17.067 13.705 6.350 -2.554 -9.007 -8.090 -.510 6.183 8.611 5.556 -.432 -5.992 -10.212 -11.487 -10.119 -6.592 -.766 4.710 6.483 3.604 -2.020 -5.083 -3.162 -.808 -1.896 -4.476 -10.337 -16.911 -21.316 -25.170 -28.340 -27.538 -23.392 -17.858 -14.644 -14.285 -14.734 -15.435 -13.264 -9.207 -6.178 -9.884 -16.112 -17.533 -10.791 .064 7.073 5.818 -2.195 -13.592 -20.310 -16.533 -9.031 -1.530 5.368 9.620 10.485 7.967 6.002 5.482 7.745 13.970 19.275 20.349 18.622 16.044 12.379 9.389 9.161 8.743 6.725 4.916 -.051 -6.133 -10.525 -11.453 -11.329 -10.636 -6.953 -1.298 3.277 5.452 5.400 4.122 4.316 3.065 .790 -5.101 -14.959 -18.702 -15.410 -11.180 -6.644 -5.169 -8.754 -10.216 -7.961 -5.154 -7.571 -15.521 -18.153 -18.318 -17.830 -15.005 -11.441 -8.546 -10.076 -15.259 -17.940 -16.756 -18.171 -18.088 -15.521 -10.192 -3.770 2.338 5.453 10.616 17.386 21.217 22.244 19.856 16.516 13.906 14.269 16.358 18.409 22.545 28.826 29.710 21.548 15.936 11.937 3.820 -6.632 -10.167 -8.543 -3.495 5.116 12.373 17.098 14.110 10.640 7.580 10.950 16.657 19.119 20.304 19.024 17.681 18.128 18.393 16.679 12.039 2.611 -7.032 -14.528 -15.262 -9.901 -7.740 -7.209 -8.789 -9.642 -11.185 -10.151 -6.734 -4.901 -2.558 -1.950 -2.915 -1.084 -1.260 -3.852 -5.204 -7.952 -5.563 -3.727 1.722 9.927 14.754 13.214 8.315 1.750 -2.948 -6.181 -12.429 -19.446 -25.854 -16.961 .978 17.831 12.798 -7.437 -28.817 -30.300 -14.236 -1.943 9.550 13.682 14.023 11.944 7.320 1.880 4.014 8.678 12.808 12.217 9.763 6.075 1.928 3.065 2.607 3.498 5.002 4.897 -.666 -5.863 -9.150 -16.090 -22.152 -24.069 -18.357 -10.864 -7.637 -7.035 -4.904 -1.682 1.429 2.779 4.168 3.703 2.859 4.664 6.881 10.045 15.386 17.653 13.287 11.329 12.173 12.123 6.166 -.923 -5.078 -3.867 .989 4.511 4.894 4.769 4.438 2.595 -.540 -1.867 -1.948 -3.666 -.844 3.536 7.726 7.359 2.406 -2.264 -8.905 -17.175 -24.634 -29.749 -23.901 -16.140 -11.153 -9.335 -10.016 -5.229 1.353 6.738 7.659 5.545 4.879 3.445 6.681 9.715 8.180 6.918 7.825 10.685 14.416 15.178 10.802 6.839 1.841 -3.254 -7.949 -12.241 -14.849 -12.192 -5.788 .070 3.572 2.411 -3.938 -8.536 -11.196 -10.612 -9.554 -6.799 -2.243 -1.633 -3.886 -7.029 -7.216 -4.383 .652 5.789 8.615 5.930 4.343 8.142 15.308 20.464 24.350 25.053 22.791 20.364 16.018 10.587 5.022 3.616 3.774 -3.258 -13.188 -18.545 -23.069 -22.916 -18.273 -12.755 -6.753 -2.690 -3.990 -8.832 -12.002 -12.141 -10.267 -8.929 -7.055 -4.616 -3.484 -1.732 1.221 1.977 2.448 2.718 .810 2.465 5.102 7.953 8.500 7.578 7.431 9.245 11.733 12.136 12.712 13.762 14.959 11.661 7.424 2.709 -2.083 -3.867 -2.367 .640 2.721 5.258 4.719 .777 -4.681 -6.965 -8.655 -9.676 -9.122 -9.492 -9.109 -9.880 -7.840 -3.533 .411 1.812 .342 -1.018 -1.928 -4.512 -6.984 -11.392 -12.910 -10.592 -10.586 -8.744 -5.087 -1.650 2.978 6.837 10.521 14.755 14.261 12.575 10.587 7.924 6.669 5.837 7.249 9.682 12.239 12.475 10.738 7.430 5.690 5.091 5.867 9.192 14.218 13.109 9.267 5.405 2.237 2.146 -.839 -1.895 -1.896 -3.417 -6.979 -8.319 -7.827 -8.140 -6.283 -2.092 .627 1.761 1.344 .998 1.961 2.284 -.287 -1.831 -2.122 -4.170 -7.110 -9.268 -7.277 -5.679 -4.592 -4.822 -5.307 -5.526 -6.140 -6.047 -4.659 -2.863 -1.797 -1.085 -2.368 -3.167 -2.733 -3.566 -4.467 -6.966 -7.812 -7.937 -8.186 -8.489 -10.402 -9.895 -10.788 -8.452 -8.032 -7.641 -9.028 -10.692 -8.308 -7.951 -4.282 -2.033 -.925 -.570 1.788 4.806 4.967 6.099 7.315 7.731 6.024 4.184 2.922 3.046 2.786 4.119 3.381 -.258 -2.704 -4.369 -4.155 -3.445 -2.425 -.596 -1.302 -.749 -.944 -2.560 -4.019 -7.045 -7.828 -6.543 -5.417 -4.384 -3.221 -3.045 -2.505 -3.016 -4.487 -2.560 2.455 5.206 7.634 9.917 11.180 12.217 10.538 10.725 13.408 13.641 11.175 8.456 6.113 6.343 8.107 9.389 6.897 3.297 1.523 -.092 -1.151 -2.042 -3.319 -5.285 -4.594 -2.532 -1.549 -3.093 -3.468 -4.123 -3.913 -2.218 -.019 -.637 -5.080 -6.939 -7.796 -7.768 -6.957 -5.732 -3.118 -2.047 -2.569 -2.844 -.614 1.783 3.074 4.513 7.159 8.437 9.551 8.391 5.807 3.404 .918 -.150 -1.017 -.174 .063 1.446 3.568 5.290 7.495 5.414 5.102 4.788 2.885 3.341 4.337 4.753 3.827 3.262 .895 -.674 .670 1.699 -1.166 -3.142 -3.709 -4.581 -5.401 -8.107 -8.876 -7.359 -8.288 -6.800 -3.649 -1.706 -.185 1.257 3.258 4.808 6.156 6.606 8.146 9.681 11.555 11.881 12.853 13.058 10.691 6.612 2.056 -.446 -4.525 -7.021 -8.448 -7.789 -5.966 -4.843 -3.516 -1.710 .502 -.575 -.850 -2.149 -3.591 -5.259 -6.740 -6.020 -3.737 .517 2.968 2.755 2.109 -.353 -5.509 -8.403 -9.045 -7.638 -5.869 -5.665 -3.300 1.026 .353 -1.494 -1.563 -1.719 -1.497 -.968 .675 -.423 .158 1.091 3.977 7.244 6.088 4.057 1.209 -1.432 -2.179 -2.783 -1.175 3.311 6.498 6.544 3.925 1.689 1.719 2.545 2.901 4.810 5.641 3.948 4.842 5.395 4.746 2.133 .115 -.176 1.112 3.775 6.073 7.441 8.132 12.654 13.017 9.353 6.621 4.716 3.624 1.620 -.965 -2.668 -3.284 -3.361 -3.132 -3.134 -2.370 -2.860 -4.537 -5.319 -6.253 -6.090 -4.521 -3.902 -4.836 -4.425 -1.732 -.866 -1.553 -4.534 -6.723 -7.393 -8.175 -6.859 -7.885 -7.100 -7.568 -9.026 -10.218 -9.405 -7.569 -6.230 -3.571 -5.011 -6.248 -5.986 -4.057 -3.085 -2.882 -3.884 -2.567 .333 1.672 3.722 4.141 7.795 10.533 9.431 5.589 1.663 .507 1.350 1.802 -.672 -4.128 -6.669 -5.746 -2.255 1.118 2.695 1.991 .416 -.341 -.547 -.289 2.486 3.974 4.472 4.802 .119 -.664 1.730 3.544 4.988 4.731 4.200 2.284 2.534 1.853 -.549 -2.033 -3.821 -2.655 -.712 -.926 -3.099 -3.226 -3.345 -5.155 -4.129 -4.584 -3.461 -2.261 -2.148 -2.364 -1.972 -1.533 -2.159 -2.880 -4.536 -3.532 -2.653 -3.862 -5.602 -5.011 -2.231 -.475 -1.130 -2.639 -1.439 .586 2.911 3.883 1.441 1.342 4.228 6.683 8.326 7.529 5.050 3.728 1.183 -1.288 -2.951 -4.719 -2.584 .560 1.281 1.535 .860 .173 2.970 4.858 6.922 7.639 8.112 6.805 2.803 4.640 5.059 6.665 7.698 6.289 5.641 1.052 -1.332 -4.122 -5.431 -6.052 -8.556 -7.420 -6.318 -4.811 -1.597 1.583 3.745 3.667 2.332 .169 -.051 -1.011 -1.639 -1.576 -2.616 -1.694 -1.680 -.860 .581 2.221 2.928 3.765 3.417 -.098 -3.464 -7.336 -6.713 -5.181 -4.361 -2.939 -2.327 -1.140 -.087 1.068 .696 1.864 2.091 -.123 .225 -.788 -.994 -1.567 -.921 .322 -.014 -1.094 -3.614 -3.237 -3.889 -3.489 -2.030 .195 1.329 1.472 4.477 4.990 4.289 4.785 5.314 6.319 5.024 4.577 4.336 2.851 .939 -.775 -1.442 -2.734 -.235 1.639 1.082 .924 1.329 2.908 2.562 1.163 1.424 2.869 4.636 2.489 2.200 3.949 3.668 2.329 -.169 -1.148 -1.831 -2.923 -3.690 -2.104 -1.588 -.373 2.035 2.010 1.764 .318 1.288 2.313 2.568 3.006 .627 2.407 .838 -.372 -.507 -1.788 -2.149 -3.094 -.873 .483 .019 -.256 .042 -.123 .001 -.238 1.228 3.156 4.679 4.458 2.342 3.169 4.133 3.466 2.598 1.084 .321 -.812 -1.436 -3.457 -3.871 -5.964 -7.655 -6.003 -3.839 -1.797 -1.952 -2.135 -3.111 -4.021 -4.442 -2.539 -2.288 -1.492 -.945 -2.474 -3.444 -3.551 -4.140 -4.295 -2.722 1.488 2.273 -1.667 -1.360 -2.252 -3.794 -1.335 1.655 1.264 2.095 .881 -1.556 -2.305 -3.343 -1.491 .446 1.693 3.356 2.602 1.175 .645 1.948 4.540 4.626 3.717 5.412 6.530 5.302 3.082 1.329 -1.370 -1.745 -.781 -1.856 -1.678 -2.453 -3.642 -4.120 -4.262 -3.706 -2.612 -1.275 1.774 2.632 1.839 .991 -.816 -3.391 -5.315 -6.140 -3.233 .766 2.537 1.433 1.145 .848 1.641 3.869 4.380 4.782 4.273 3.757 1.293 1.385 -.324 -2.313 -2.258 -3.354 -2.187 -1.335 -.734 .008 -.283 -1.422 -.968 1.898 4.252 4.850 4.427 3.618 4.258 3.644 1.659 .903 .529 -.452 -1.961 -2.720 -1.543 -.860 -2.336 -4.330 -2.858 .855 -1.507 -1.321 -.935 -.189 1.456 2.443 5.167 4.589 3.826 3.582 2.182 1.033 .514 -.418 -1.715 -1.788 -3.247 -4.222 -5.999 -7.740 -8.042 -7.278 -6.079 -5.649 -4.412 -5.198 -4.342 -3.576 -2.190 -.572 .765 1.395 1.689 1.317 .741 .641 .543 .955 2.514 3.681 3.605 5.314 6.707 6.642 5.417 3.608 2.571 1.371 .924 1.472 3.451 5.561 6.909 8.490 7.237 5.484 5.017 3.180 1.349 .538 -.984 -1.845 -1.823 -1.787 -.364 1.083 3.192 3.734 1.980 1.006 .646 .924 .609 .376 .008 -1.294 -1.083 -1.715 -1.829 -1.715 -4.181 -4.446 -4.585 -4.688 -6.181 -5.977 -4.376 -5.125 -5.204 -4.389 -3.373 -.907 1.649 -1.472 -6.338 -7.764 -4.443 -.880 1.673 1.730 .965 3.309 5.030 3.552 .892 -.012 .360 1.695 3.145 .315 -1.455 .893 1.340 1.058 1.571 1.091 .644 -.064 -1.144 -1.031 -1.424 -1.083 -1.007 -.587 -.649 -1.715 -.664 .732 4.687 4.867 3.591 4.069 2.565 2.737 .595 -2.746 -5.810 -6.068 -5.121 -4.529 -3.261 -1.252 -1.356 -.637 1.032 .375 2.107 2.504 2.244 2.879 4.025 4.881 .624 -1.681 -2.631 -3.599 -.539 2.043 3.096 3.616 3.563 1.309 -.366 -2.335 -2.989 -1.628 -2.244 -2.542 -2.417 -1.390 -1.126 -1.609 -1.730 -1.196 -1.657 -2.056 -.530 -1.656 -1.334 -1.893 -4.079 -4.794 -5.704 -4.748 -3.119 -3.597 -3.978 -4.251 -1.607 -1.537 -2.161 -.754 .876 3.387 4.960 4.865 3.808 .910 .012 -.564 -1.256 -1.167 -1.977 .794 1.581 1.371 -.749 -2.250 -2.495 -4.565 -6.176 -6.014 -4.851 -2.602 -.118 .925 -.924 .473 .930 -1.244 -.734 2.665 2.505 1.665 .166 -1.362 1.442 1.901 1.851 2.032 3.414 4.449 4.277 2.951 2.150 2.365 1.156 2.508 4.404 4.527 3.585 1.130 .359 1.908 3.192 2.296 -.038 -2.614 -1.299 -.234 -3.177 -.945 -.399 .160 2.720 3.322 4.146 4.018 4.127 3.330 4.481 1.762 3.132 2.914 1.461 2.023 1.532 .086 -1.869 -1.394 -3.079 -1.945 -2.344 -2.359 -.698 .637 1.693 .341 -.678 .225 -.897 -.824 .996 1.532 -1.192 -1.431 -3.829 -2.974 -.033 1.179 3.560 .126 -3.018 -4.182 -3.652 -2.088 .868 1.721 2.219 .192 -2.484 -1.563 -.257 -.301 -1.224 -2.579 -.638 -.292 .078 .481 -2.316 -1.142 -1.553 -.250 .516 1.411 1.081 -3.962 -2.523 1.120 3.143 3.459 3.465 5.424 5.504 4.096 4.207 3.970 3.259 2.526 .234 .231 -3.161 -4.556 -2.789 -.287 .451 -.181 .089 -1.842 -2.306 -2.517 -.988 1.921 2.819 .838 -1.127 -4.199 -7.232 -10.691 -15.927 -11.439 -.669 12.077 22.935 24.555 21.432 18.299 15.375 6.654 -2.744 -11.112 -15.413 -14.421 -10.665 -2.082 3.586 6.256 4.359 3.062 2.550 1.195 -1.314 -5.017 -7.628 -6.303 -.341 4.757 10.354 13.384 15.297 16.603 14.360 5.784 -3.781 -8.819 -11.449 -12.432 -9.809 -6.060 -3.459 -.242 2.172 3.576 3.539 .746 -4.301 -8.354 -7.665 -6.706 -4.565 -.572 3.594 3.981 -1.898 -6.487 -6.874 -5.491 -2.129 -2.445 -5.206 -5.907 -5.220 -4.214 -4.020 -3.271 -3.132 -3.395 -5.837 -5.848 -4.371 -6.059 -7.439 -5.953 -2.897 -1.584 1.788 2.138 2.313 3.258 4.899 6.054 4.023 4.031 1.302 .909 -.328 .756 4.526 5.150 5.405 3.143 2.023 2.411 1.889 1.825 -1.273 -3.258 .637 2.554 2.360 2.238 .906 -.062 -.678 .077 .818 1.977 1.490 .729 -.461 -.566 -2.560 -2.873 -2.823 -1.502 .100 .983 2.079 3.091 3.981 5.341 4.240 2.141 .046 -5.015 -3.705 -3.088 -3.587 -4.509 -5.316 -3.522 -2.671 -.214 2.976 3.609 2.221 .047 .445 -.806 -3.010 -2.577 -3.421 -1.841 -2.335 -.486 1.082 -.697 .000 -.084 -1.698 -2.015 -2.101 -.240 1.758 .825 2.062 1.893 3.378 2.858 2.563 2.490 2.501 3.704 4.117 4.699 4.626 4.234 5.398 4.493 2.306 1.023 1.449 3.099 2.650 2.804 2.713 3.143 3.750 2.303 1.649 2.282 .879 -.681 -1.838 -1.291 -1.281 -2.312 -2.669 -3.623 -4.096 -3.658 -4.084 -6.265 -8.095 -7.488 -4.692 -2.234 -2.679 -1.709 .494 2.668 3.251 -.134 -2.622 -3.311 -.877 .191 .730 -.809 -2.279 -2.829 -3.379 -3.944 -5.118 -2.514 .117 .323 .006 .447 .537 .682 -.123 2.122 5.171 4.740 2.671 2.181 1.721 -.255 -1.527 -2.631 -3.537 -1.547 -.657 -1.990 -2.451 -1.247 -1.302 -1.882 -1.739 -.584 .420 .792 2.972 2.701 2.825 1.782 1.932 3.208 .978 .416 1.901 1.212 .023 -.316 .607 1.333 -.085 -1.271 -2.588 -3.994 -3.897 -.174 .142 .571 .499 .388 1.767 1.338 -.522 -2.278 -2.657 -1.953 -.520 -.791 .912 .246 .520 2.322 1.703 2.699 2.554 1.643 -.319 -.744 -.248 .044 .001 .530 -.382 .595 2.539 1.780 2.267 2.497 4.925 3.490 1.447 .366 -1.355 -.488 .535 -.113 -2.769 -4.014 -3.743 -.597 1.374 1.057 2.302 2.855 3.039 3.023 2.835 .646 .649 -.250 -.966 .033 -1.428 -.560 .321 .434 -.957 -4.128 -4.001 -3.437 -.861 1.139 1.039 1.048 -.666 -1.108 .484 .440 -.619 .182 .079 -.377 .850 -.910 -1.032 -1.088 -.430 -.558 .107 .601 -.553 .940 .796 3.241 3.679 2.105 1.078 -1.020 -1.034 -.808 -2.482 -1.143 -1.302 -.819 -.191 -.581 -1.245 -2.732 -5.424 -4.598 -1.799 -2.232 -1.673 -.075 -.695 -.954 -1.073 -2.326 -1.404 -1.010 -1.058 -2.580 -3.456 -2.066 -1.431 -2.423 -3.223 -2.872 -2.432 -2.927 -1.337 -1.460 -2.511 -2.672 -5.090 -3.585 4.608 9.101 11.657 10.775 6.521 3.375 .892 4.504 6.884 4.460 .450 -.633 .536 3.732 3.313 2.971 2.875 2.983 1.766 -1.746 -4.115 -5.402 -4.491 -.590 4.799 5.746 5.640 4.930 5.492 5.321 4.105 2.625 1.117 1.427 .703 1.206 2.489 4.281 5.751 6.239 4.226 1.133 1.982 1.107 .824 -.587 -.930 -.212 1.692 2.019 1.365 1.110 1.218 2.586 1.555 1.911 1.125 1.400 2.470 2.147 .697 -1.821 -1.930 -2.274 -2.146 1.121 3.701 3.977 1.801 -1.703 -3.565 -1.069 1.238 1.461 .788 1.219 .418 -1.537 -3.096 -2.051 -2.201 -2.544 -2.903 -3.606 -3.611 -3.861 -3.530 -4.107 -2.600 -2.970 -3.043 -2.504 -1.451 -2.935 -2.128 -.758 -1.044 -1.137 -4.237 -4.329 -3.103 -2.327 -.650 .200 .731 1.707 -.894 -.942 -.636 -.509 1.209 .318 -.142 .088 -.048 .513 .979 .674 .878 -.064 -.993 -1.273 -.480 -.695 .401 -.830 -2.854 -3.932 -3.534 -2.915 -3.531 -3.262 -4.258 -3.325 -3.853 -2.297 -.784 1.047 2.926 2.383 2.819 2.886 3.155 2.011 1.594 2.842 1.425 .093 -1.018 -1.129 .220 1.364 2.051 3.077 3.217]/2.54;

Annex 1.3 data_input.m%==================================%Input Data%==================================%Homework #6%by Rith Makara%2015 % Structural Properties:M = 1; % Mass of the Structure in [kips.s^2/in]K = 100; % Structure Stiffness in [kips/in]Xi = 0.02; % Damping RatioC = Xi*2*sqrt(K*M); % Damping Coefficient in [kips.s/in]Wn = sqrt(K/M); % Natural Frequency in [rad/sec]Tn = 2*pi/Wn; % Period Frequency in [sec]fn = Wn/(2*pi); % Natural Frequency in [Hz] % Calling the Earthquake Datanorthridge % Calling the Calculationcalculation

Annex 1.4 calculation.mclc%===========================================% Calculation Sheet%===========================================% by Rith Makara% 2015%% This calculation sheet will output the responses due to ground motion.% It also plots each responses.%% Call the Input Data File% data_input% Size of Acceleration matrix raw data of Ground Motion [m n] = size(Acce_Ground_Raw);% Turn the Acce_Ground_Raw matrix into a vector of Acceleration of Ground% MotionAcce_Ground = zeros(m*n,1);for i = 1:m for j = 1:n Acce_Ground((i-1)*n+j,1) = Acce_Ground((i-1)*n+j,1) + Acce_Ground_Raw(i,j); endend % 1. CalculationResponse = zeros(m*n,4);for i = 1:m*n Response(i,1) = i*dt; if i == 1 [Response(i,2),Response(i,3),Response(i,4)] = newmark_linear(M,C,K,-M*Acce_Ground(i,1),dt,Xi,Xdi,Xddi); else [Response(i,2),Response(i,3),Response(i,4)] = newmark_linear(M,C,K,-M*Acce_Ground(i,1),dt,Response(i-1,2),Response(i-1,3),Response(i-1,4)); endendResponse % 2. Plot The Response of the Structure% 2.1 Relative Displacement Response, U [infiguresubplot(3,1,1)plot(Response(1:m*n,1),Response(1:m*n,2))title('Relative Displacement')xlabel('Time, [sec]')ylabel('Displacement, [in]')axis([0,Response(m*n,1),-max(abs(Response(1:m*n,2)))*1.5,max(abs(Response(1:m*n,2)))*1.5]) % 2.2 Relative Velocity Response, V [in/sec]subplot(3,1,2)plot(Response(1:m*n,1),Response(1:m*n,3))title('Relative Velocity')xlabel('Time, [sec]')ylabel('Velocity, [in/sec]')axis([0,Response(m*n,1),-max(abs(Response(1:m*n,3)))*1.5,max(abs(Response(1:m*n,3)))*1.5]) % 2.3 Relative Acceleration Response, A [in/sec2]subplot(3,1,3)plot(Response(1:m*n,1),Response(1:m*n,4))title('Relative Acceleration')xlabel('Time, [sec]')ylabel('Acceleration, [in]')axis([0,Response(m*n,1),-max(abs(Response(1:m*n,4)))*1.5,max(abs(Response(1:m*n,4)))*1.5])

By Rith Makara4