Matlab Project: Dynamical Systems
Matlab Project: Dynamical Systems
Matlab Project: Dynamical Systems
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
(b) Free vibrations of the system correspond to solutions of the form<br />
x(t) = e iωt u, (3)<br />
where u is a constant vector, ω is the (angular) frequency, and i = √ −1 is the imaginary unit. By<br />
plugging (3) into (2), derive a matrix eigenvalue problem of the form<br />
Au = λu, (4)<br />
where the eigenvalue λ is related to the frequency ω and mass m. Write the formula which relates<br />
λ, ω, and m on the answer sheet.<br />
(c) Use the MATLAB command eig to computer all eigenvalues λ and corresponding eigenvectors u<br />
of the matrix A as defined above. Type “help eig” for details of how to use this command. Use the<br />
last four digits of your student number for k 1 , k 2 , k 3 , and k 4 . For example, if your student number<br />
is 0124659 use k 1 = 4, k 2 = 6, k 3 = 5, and k 4 = 9. Write the eigenvalues on the answer sheet<br />
(rounded to four decimal places).<br />
(d) From equation (3), each eigenvalue/eigenvector pair (λ, u) corresponds to a distinct mode of<br />
vibration. The eigenvalue λ gives a corresponding frequency ω via your formula, and the components<br />
of the eigenvector u describe the motions of the individual masses m 1 , . . . , m 5 . In particular,<br />
the relative sizes of the components show the relative amplitudes of these motions, and the signs<br />
indicate which masses are moving in the which direction at a given time. For example, if we had<br />
u = [3, −2, 5, 1, −4] T then the corresponding motion would look like:<br />
✉ ✲ ✛ ✉ ✉ ✲ ✉✲ ✛ ✉<br />
m 1 m 2 m 3 m 4 m 5<br />
Here, the arrows show the velocities at a time t when all masses are at their equilibrium positions<br />
x i = 0 (they oscillate back and forth around these with velocities as shown). On the answer sheet,<br />
write the largest natural frequency ω (use the value m = 100), and draw a similar picture describing<br />
the corresponding motion of the masses for that mode of vibration.<br />
(e) Show (using pencil and paper) that λ = 0 is always an eigenvalue of A (for any choice of<br />
the k i ), find a corresponding eigenvector, and explain the corresponding motion. Hint: try different<br />
(positive) values for the k i ’s and see what the eigenvector corresponding to λ = 0 looks like—then<br />
show it always works.<br />
Hand in the following:<br />
1. The completed answer sheet. DO NOT hand in the instructions (I already have a copy).<br />
2. A printed copy of your MATLAB session (input and output): for example, use File—Print<br />
to print the MATLAB command window, or use the diary command to capture the input and<br />
output to a file and then print that file. If you use an M-file (MATLAB script) to do these<br />
calculations, also attach a copy of it.<br />
Page 2 of 2