0% found this document useful (0 votes)
63 views15 pages

Assignment 2 Solution PDF

This document contains the results of a simulation of a single degree of freedom spring-mass-damper system over a time period of 7.8 seconds with measurements taken at 0.1 second intervals. The simulation tracks force, displacement, velocity and acceleration of the mass over time. It includes the system parameters used in the simulation such as mass, spring constant, damping coefficient, and time step.

Uploaded by

abimalain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views15 pages

Assignment 2 Solution PDF

This document contains the results of a simulation of a single degree of freedom spring-mass-damper system over a time period of 7.8 seconds with measurements taken at 0.1 second intervals. The simulation tracks force, displacement, velocity and acceleration of the mass over time. It includes the system parameters used in the simulation such as mass, spring constant, damping coefficient, and time step.

Uploaded by

abimalain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Assignment 2 CVG4142 Solution

Question2:

Given:
m = 50 kg
k= 800 N/m
epilson = 0.20
deltat = 0.1
Gamma = 0.5
Beta = 0.166666667

wn = sqrt(k/m) = 4.000 rad/sec


cc = 2*epsilon*(k/wn) = 80.000

To calculate Peff, we need the following coefficient:


A= 3240
B= 154

Keff is necessary to calculate delta u:


Keff = 33200

We are looking for:


1 displacement
2 velocity
3 acceleration
velocity accel displ
delta
Time F delta F delta detla delta u u
ud udd Peff
[s] [N] [N] ud udd [m] [m]
[N]
0 0 3 0.000 0.003 0.000 0.054 3.000 0.000 0.000
0.1 3 3 0.003 0.007 0.054 0.039 20.133 0.001 0.000
0.2 6 3 0.010 0.010 0.093 0.020 49.877 0.002 0.001
0.3 9 3 0.020 0.011 0.112 0.000 86.111 0.003 0.002
0.4 12 -3 0.032 0.005 0.113 -0.124 116.655 0.004 0.005
0.5 9 -3 0.037 -0.006 -0.012 -0.105 113.918 0.003 0.008
0.6 6 -3 0.030 -0.015 -0.116 -0.073 77.107 0.002 0.012
0.7 3 -3 0.015 -0.021 -0.189 -0.035 16.470 0.000 0.014
0.8 0 -3 -0.006 -0.022 -0.224 0.003 -55.782 -0.002 0.015
-
-3
0.9 -3 -0.028 -0.020 -0.221 0.034 127.523 -0.004 0.013
-
-6
1 -3 -0.048 -0.016 -0.187 0.056 188.454 -0.006 0.009
-
-9
1.1 -3 -0.064 -0.010 -0.131 0.067 231.330 -0.007 0.003
-
-12
1.2 3 -0.074 0.002 -0.064 0.175 246.562 -0.007 -0.004
-
-9
1.3 3 -0.072 0.018 0.111 0.134 211.944 -0.006 -0.011
-
-6
1.4 3 -0.054 0.028 0.245 0.079 133.688 -0.004 -0.017
1.5 -3 5 -0.025 0.035 0.324 0.057 -27.418 -0.001 -0.021
1.6 2 2 0.010 0.035 0.381 -0.061 92.451 0.003 -0.022
1.7 4 2 0.045 0.027 0.320 -0.098 196.624 0.006 -0.019
1.8 6 2 0.072 0.016 0.222 -0.116 269.308 0.008 -0.014
1.9 8 2 0.088 0.005 0.106 -0.115 304.547 0.009 -0.005
2 10 0 0.093 -0.008 -0.009 -0.133 300.661 0.009 0.004
2.1 10 0 0.086 -0.019 -0.142 -0.093 255.867 0.008 0.013
2.2 10 -8 0.067 -0.033 -0.235 -0.190 172.557 0.005 0.020
2.3 2 0 0.034 -0.040 -0.425 0.043 44.344 0.001 0.026
2.4 2 0 -0.006 -0.034 -0.382 0.092 -79.744 -0.002 0.027
-
2
2.5 0 -0.040 -0.023 -0.290 0.121 174.362 -0.005 0.025
-
2
2.6 -1 -0.063 -0.011 -0.169 0.110 231.091 -0.007 0.019
-
1
2.7 -1 -0.074 -0.001 -0.059 0.102 251.208 -0.008 0.012
-
0
2.8 0 -0.075 0.009 0.043 0.099 237.097 -0.007 0.005
-
0
2.9 0 -0.066 0.017 0.142 0.064 191.747 -0.006 -0.002
-
0
3 0 -0.048 0.022 0.207 0.025 125.231 -0.004 -0.008
3.1 0 0 -0.027 0.023 0.232 -0.012 -50.227 -0.002 -0.012
3.2 0 0 -0.004 0.020 0.220 -0.042 21.196 0.001 -0.013
3.3 0 0 0.016 0.015 0.178 -0.062 79.228 0.002 -0.013
3.4 0 0 0.031 0.008 0.116 -0.070 117.415 0.004 -0.010
3.5 0 0 0.039 0.001 0.047 -0.066 133.105 0.004 -0.007
3.6 0 0 0.040 -0.005 -0.020 -0.054 127.283 0.004 -0.003
3.7 0 0 0.036 -0.009 -0.073 -0.035 103.900 0.003 0.001
3.8 0 0 0.026 -0.012 -0.109 -0.015 68.876 0.002 0.004
3.9 0 0 0.015 -0.012 -0.124 0.005 28.958 0.001 0.006
4 0 0 0.003 -0.011 -0.118 0.022 -9.375 0.000 0.007
4.1 0 0 -0.008 -0.008 -0.096 0.033 -40.811 -0.001 0.007
4.2 0 0 -0.016 -0.005 -0.064 0.037 -61.802 -0.002 0.006
4.3 0 0 -0.021 -0.001 -0.027 0.036 -70.822 -0.002 0.004
4.4 0 0 -0.021 0.002 0.009 0.029 -68.299 -0.002 0.002
4.5 0 0 -0.019 0.005 0.038 0.019 -56.267 -0.002 0.000
4.6 0 0 -0.014 0.006 0.057 0.008 -37.838 -0.001 -0.002
4.7 0 0 -0.008 0.006 0.066 -0.002 -16.604 -0.001 -0.003
4.8 0 0 -0.002 0.006 0.063 -0.011 3.961 0.000 -0.004
4.9 0 0 0.004 0.004 0.052 -0.017 20.980 0.001 -0.004
5 0 0 0.008 0.003 0.035 -0.020 32.505 0.001 -0.003
5.1 0 0 0.011 0.001 0.015 -0.019 37.665 0.001 -0.002
5.2 0 0 0.011 -0.001 -0.004 -0.016 36.633 0.001 -0.001
5.3 0 0 0.010 -0.002 -0.019 -0.011 30.453 0.001 0.000
5.4 0 0 0.008 -0.003 -0.030 -0.005 20.765 0.001 0.001
5.5 0 0 0.005 -0.003 -0.035 0.001 9.475 0.000 0.002
5.6 0 0 0.001 -0.003 -0.034 0.006 -1.553 0.000 0.002
5.7 0 0 -0.002 -0.002 -0.028 0.009 -10.762 0.000 0.002
5.8 0 0 -0.004 -0.001 -0.019 0.010 -17.083 -0.001 0.002
5.9 0 0 -0.006 0.000 -0.009 0.010 -20.021 -0.001 0.001
6 0 0 -0.006 0.001 0.001 0.009 -19.639 -0.001 0.001
6.1 0 0 -0.006 0.001 0.010 0.006 -16.473 0.000 0.000
6.2 0 0 -0.004 0.002 0.016 0.003 -11.383 0.000 -0.001
6.3 0 0 -0.003 0.002 0.019 0.000 -5.384 0.000 -0.001
6.4 0 0 -0.001 0.002 0.018 -0.003 0.527 0.000 -0.001
6.5 0 0 0.001 0.001 0.015 -0.005 5.507 0.000 -0.001
6.6 0 0 0.002 0.001 0.011 -0.006 8.971 0.000 -0.001
6.7 0 0 0.003 0.000 0.005 -0.005 10.637 0.000 -0.001
6.8 0 0 0.003 0.000 0.000 -0.005 10.524 0.000 0.000
6.9 0 0 0.003 -0.001 -0.005 -0.003 8.906 0.000 0.000
7 0 0 0.002 -0.001 -0.008 -0.002 6.234 0.000 0.000
7.1 0 0 0.001 -0.001 -0.010 0.000 3.048 0.000 0.000
7.2 0 0 0.000 -0.001 -0.010 0.002 -0.119 0.000 0.001
7.3 0 0 0.000 -0.001 -0.008 0.002 -2.811 0.000 0.001
7.4 0 0 -0.001 0.000 -0.006 0.003 -4.707 0.000 0.000
7.5 0 0 -0.002 0.000 -0.003 0.003 -5.648 0.000 0.000
7.6 0 0 -0.002 0.000 0.000 0.002 -5.637 0.000 0.000
7.7 0 0 -0.002 0.000 0.003 0.002 -4.812 0.000 0.000
7.8 0 0 -0.001 0.000 0.004 0.001 -3.411 0.000 0.000
7.9 0 0 -0.001 0.001 0.005 0.000 -1.719 0.000 0.000
8 0 0 0.000 0.000 0.005 -0.001 -0.024 0.000 0.000
8.1 0 0 0.000 0.000 0.004 -0.001 1.430 0.000 0.000
8.2 0 0 0.001 0.000 0.003 -0.002 2.467 0.000 0.000
8.3 0 0 0.001 0.000 0.002 -0.002 2.998 0.000 0.000
8.4 0 0 0.001 0.000 0.000 -0.001 3.018 0.000 0.000
8.5 0 0 0.001 0.000 -0.001 -0.001 2.599 0.000 0.000
8.6 0 0 0.001 0.000 -0.002 0.000 1.865 0.000 0.000
8.7 0 0 0.000 0.000 -0.003 0.000 0.967 0.000 0.000
8.8 0 0 0.000 0.000 -0.003 0.000 0.060 0.000 0.000
8.9 0 0 0.000 0.000 -0.002 0.001 -0.726 0.000 0.000
9 0 0 0.000 0.000 -0.002 0.001 -1.292 0.000 0.000
9.1 0 0 0.000 0.000 -0.001 0.001 -1.590 0.000 0.000
9.2 0 0 0.000 0.000 0.000 0.001 -1.615 0.000 0.000
9.3 0 0 0.000 0.000 0.001 0.001 -1.403 0.000 0.000
9.4 0 0 0.000 0.000 0.001 0.000 -1.019 0.000 0.000
9.5 0 0 0.000 0.000 0.001 0.000 -0.543 0.000 0.000
9.6 0 0 0.000 0.000 0.001 0.000 -0.057 0.000 0.000
9.7 0 0 0.000 0.000 0.001 0.000 0.367 0.000 0.000
9.8 0 0 0.000 0.000 0.001 0.000 0.676 0.000 0.000
9.9 0 0 0.000 0.000 0.001 0.000 0.843 0.000 0.000
10 0 0 0.000 0.000 0.000 0.000 0.864 0.000 0.000
Question 3:
delta
P delta detla delta u u
Time [s] delta P ud udd Peff
[kips] ud udd [in] [in]
[N]
0 0 5 0.000 0.900 0.000 17.991 5.000 0.030 0.000
0.1 5 3.66 0.900 2.082 17.991 5.666 31.575 0.189 0.030
0.2 8.66 1.34 2.982 1.790 23.656 -11.518 66.247 0.397 0.219
0.3 10 -1.34 4.772 -0.030 12.138 -24.869 82.777 0.496 0.617
0.4 8.66 -3.66 4.742 -2.634 -12.731 -27.212 60.897 0.365 1.113
0.5 5 -5 2.108 -4.799 -39.942 -16.103 -2.622 -0.016 1.478
0.6 0 0 -2.691 -4.456 -56.046 22.975 -85.220 -0.511 1.462
-
-7.147 -1.629 -33.070 33.559 -0.824 0.951
0.7 0 0 137.424
-
-8.776 1.622 0.488 31.461 -0.823 0.127
0.8 0 0 137.193
0.9 0 0 -7.154 4.103 31.950 18.164 -87.611 -0.525 -0.695
1 0 0 -3.051 4.966 50.113 -0.908 -9.346 -0.056 -1.221
1.1 0 0 1.915 3.993 49.206 -18.560 67.801 0.407 -1.277
1.2 0 0 5.908 1.638 30.645 -28.524 116.134 0.696 -0.870
1.3 0 0 7.546 -1.171 2.121 -27.654 119.913 0.719 -0.174
1.4 0 0 6.375 -3.397 -25.533 -16.883 80.330 0.482 0.545
1.5 0 0 2.978 -4.274 -42.416 -0.655 14.110 0.085 1.027
1.6 0 0 -1.296 -3.563 -43.071 14.880 -53.395 -0.320 1.112
1.7 0 0 -4.860 -1.611 -28.191 24.171 -97.822 -0.587 0.791
-
-6.470 0.810 -4.020 24.233 -0.627 0.205
1.8 0 0 104.508
1.9 0 0 -5.660 2.800 20.214 15.573 -73.208 -0.439 -0.422
2 0 0 -2.860 3.669 35.786 1.805 -17.359 -0.104 -0.861
2.1 0 0 0.808 3.168 37.591 -11.824 41.537 0.249 -0.965
2.2 0 0 3.976 1.556 25.766 -20.418 82.115 0.492 -0.716
2.3 0 0 5.532 -0.524 5.348 -21.173 90.824 0.545 -0.224
2.4 0 0 5.008 -2.296 -15.825 -14.267 66.354 0.398 0.321
2.5 0 0 2.712 -3.140 -30.092 -2.622 19.411 0.116 0.719
2.6 0 0 -0.428 -2.806 -32.714 9.299 -31.828 -0.191 0.835
2.7 0 0 -3.234 -1.482 -23.416 17.191 -68.681 -0.412 0.645
2.8 0 0 -4.716 0.300 -6.224 18.446 -78.712 -0.472 0.233
2.9 0 0 -4.417 1.872 12.222 12.992 -59.846 -0.359 -0.239
3 0 0 -2.545 2.680 25.215 3.176 -20.528 -0.123 -0.598
3.1 0 0 0.136 2.478 28.391 -7.221 23.925 0.143 -0.721
3.2 0 0 2.614 1.396 21.169 -14.425 57.224 0.343 -0.578
3.3 0 0 4.009 -0.127 6.745 -16.025 68.026 0.408 -0.235
3.4 0 0 3.882 -1.516 -9.281 -11.768 53.733 0.322 0.173
3.5 0 0 2.366 -2.281 -21.049 -3.521 20.925 0.125 0.496
3.6 0 0 0.085 -2.181 -24.570 5.521 -17.533 -0.105 0.621
3.7 0 0 -2.096 -1.302 -19.049 12.059 -47.481 -0.285 0.516
3.8 0 0 -3.398 -0.005 -6.990 13.883 -58.629 -0.352 0.231
3.9 0 0 -3.403 1.220 6.894 10.608 -48.044 -0.288 -0.120
4 0 0 -2.183 1.935 17.502 3.703 -20.778 -0.125 -0.409
4.1 0 0 -0.248 1.914 21.205 -4.139 12.402 0.074 -0.533
4.2 0 0 1.666 1.205 17.066 -10.042 39.220 0.235 -0.459
4.3 0 0 2.871 0.103 7.024 -11.994 50.391 0.302 -0.224
4.4 0 0 2.973 -0.973 -4.970 -9.519 42.790 0.257 0.079
4.5 0 0 2.000 -1.637 -14.490 -3.761 20.229 0.121 0.335
4.6 0 0 0.363 -1.674 -18.250 3.021 -8.319 -0.050 0.456
4.7 0 0 -1.311 -1.106 -15.229 8.328 -32.239 -0.193 0.407
4.8 0 0 -2.417 -0.173 -6.901 10.334 -43.189 -0.259 0.213
4.9 0 0 -2.591 0.769 3.433 8.507 -37.972 -0.228 -0.046
5 0 0 -1.822 1.380 11.940 3.724 -19.391 -0.116 -0.273
5.1 0 0 -0.442 1.460 15.664 -2.125 5.103 0.031 -0.390
5.2 0 0 1.018 1.010 13.538 -6.875 26.358 0.158 -0.359
5.3 0 0 2.028 0.222 6.663 -8.879 36.913 0.221 -0.201
5.4 0 0 2.251 -0.600 -2.216 -7.573 33.581 0.201 0.020
5.5 0 0 1.651 -1.160 -9.789 -3.617 18.357 0.110 0.222
5.6 0 0 0.491 -1.270 -13.406 1.413 -2.600 -0.016 0.332
5.7 0 0 -0.779 -0.917 -11.993 5.648 -21.421 -0.128 0.316
5.8 0 0 -1.696 -0.254 -6.345 7.607 -31.457 -0.189 0.188
5.9 0 0 -1.950 0.462 1.262 6.717 -29.600 -0.178 -0.001
6 0 0 -1.488 0.971 7.979 3.462 -17.199 -0.103 -0.178
6.1 0 0 -0.517 1.101 11.441 -0.853 0.681 0.004 -0.282
6.2 0 0 0.584 0.828 10.588 -4.614 17.291 0.104 -0.277
6.3 0 0 1.413 0.272 5.974 -6.499 26.729 0.160 -0.174
6.4 0 0 1.685 -0.349 -0.525 -5.938 26.009 0.156 -0.014
6.5 0 0 1.336 -0.810 -6.463 -3.272 15.972 0.096 0.142
6.6 0 0 0.526 -0.953 -9.736 0.418 0.763 0.005 0.238
6.7 0 0 -0.427 -0.744 -9.318 3.747 -13.850 -0.083 0.243
6.8 0 0 -1.172 -0.280 -5.571 5.537 -22.643 -0.136 0.160
6.9 0 0 -1.452 0.258 -0.034 5.232 -22.785 -0.137 0.024
7 0 0 -1.194 0.673 5.198 3.062 -14.720 -0.088 -0.113
7.1 0 0 -0.521 0.822 8.260 -0.085 -1.821 -0.011 -0.201
7.2 0 0 0.301 0.666 8.175 -3.022 10.994 0.066 -0.212
7.3 0 0 0.967 0.280 5.153 -4.703 19.120 0.115 -0.146
7.4 0 0 1.248 -0.185 0.450 -4.595 19.901 0.119 -0.031
7.5 0 0 1.063 -0.557 -4.145 -2.841 13.477 0.081 0.088
7.6 0 0 0.506 -0.707 -6.986 -0.165 2.571 0.015 0.169
7.7 0 0 -0.201 -0.594 -7.151 2.418 -8.635 -0.052 0.184
7.8 0 0 -0.795 -0.274 -4.733 3.982 -16.093 -0.097 0.133
7.9 0 0 -1.069 0.126 -0.751 4.024 -17.333 -0.104 0.036
8 0 0 -0.943 0.458 3.273 2.616 -12.265 -0.074 -0.068
8.1 0 0 -0.485 0.606 5.889 0.347 -3.075 -0.018 -0.141
8.2 0 0 0.122 0.528 6.237 -1.917 6.695 0.040 -0.160
8.3 0 0 0.649 0.264 4.320 -3.361 13.497 0.081 -0.120
8.4 0 0 0.913 -0.080 0.958 -3.514 15.053 0.090 -0.039
8.5 0 0 0.834 -0.375 -2.555 -2.393 11.104 0.067 0.051
8.6 0 0 0.458 -0.519 -4.948 -0.476 3.385 0.020 0.118
8.7 0 0 -0.060 -0.467 -5.424 1.503 -5.109 -0.031 0.138
8.8 0 0 -0.527 -0.251 -3.921 2.828 -11.279 -0.068 0.108
8.9 0 0 -0.778 0.044 -1.093 3.059 -13.037 -0.078 0.040
9 0 0 -0.734 0.305 1.966 2.176 -10.004 -0.060 -0.038
9.1 0 0 -0.429 0.442 4.143 0.561 -3.544 -0.021 -0.098
9.2 0 0 0.013 0.412 4.704 -1.163 3.820 0.023 -0.119
9.3 0 0 0.426 0.236 3.540 -2.371 9.389 0.056 -0.096
9.4 0 0 0.661 -0.016 1.170 -2.656 11.260 0.068 -0.040
9.5 0 0 0.645 -0.247 -1.486 -1.969 8.973 0.054 0.027
9.6 0 0 0.398 -0.376 -3.455 -0.613 3.588 0.022 0.081
9.7 0 0 0.022 -0.363 -4.068 0.886 -2.779 -0.017 0.103
9.8 0 0 -0.341 -0.219 -3.182 1.980 -7.782 -0.047 0.086
9.9 0 0 -0.560 -0.005 -1.202 2.299 -9.698 -0.058 0.039
10 0 0 -0.565 0.198 1.097 1.773 -8.015 -0.048 -0.019

You might also like