hw7_part2_solutions - Problem 3 MATLAB Command Window...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Problem 3 MATLAB Command Window EDU>> m1 = 1; m2 = 1; m3 = 1; k = 1; EDU>> A = [2*k/m1, -k/m1, 0; -k/m2, 2*k/m2, -k/m2; 0, -k/m3, 2*k/m3] A = 2 -1 0 -1 2 -1 0 -1 2 EDU>> p = poly(A) p = 1.0000 -6.0000 10.0000 -4.0000 EDU>> EigenValues = roots(p) EigenValues = 3.4142 2.0000 0.5858
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon