Matlab 6

# Matlab 6 - MATLAB Assignment 6 Systems of ODEs Exercise...

This preview shows pages 1–6. Sign up to view the full content.

MATLAB Assignment 6 Systems of ODEs Exercise 6.1 (a) >> B = [1.2, 2.5; 4, 0.7] B = 1.2000 2.5000 4.0000 0.7000 (b) >> [eigvec,eigval]=eig(B) eigvec = 0.6501 -0.5899 0.7599 0.8075 eigval = 4.1221 0 0 -2.2221 Exercise 6.2 (a) (b) >> A=[1,3;-1,-5] A = 1 3 -1 -5 >> [eigvec,eigval]=eig(A) eigvec =

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

View Full Document
0.9836 -0.4823 -0.1805 0.8760 eigval = 0.4495 0 0 -4.4495 (c) Exercise 6.3 x ' = 2 y ' = - 3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 x y When x' is negative, the arrows point up and if it is positive, they point downwards. When y' is negative, the arrows point to the right and when it is positive, they point
towards the left. As the magnitude of y' increases, the slope of the arrows increases and the greater x' is, the larger the horizontal slope. Exercise 6.4 x ' = y y ' = - x -10 -8 -6 -4 -2 0 2 4 6 8 10 -10 -8 -6 -4 -2 0 2 4 6 8 10 x y Exercise 6.5

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

View Full Document
x ' = x + 3 y y ' = - x - 5 y -10 -8 -6 -4 -2 0 2 4 6 8 10 -10 -8 -6 -4 -2 0 2 4 6 8 10 x y As t increases, the solutions go to infinity because of the exponential function in the general solution of the system. Exercise 6.6 >> A=[-1,3;0,-2] A = -1 3 0 -2 >> [eigvec,eigval]=eig(A)
eigvec = 1.0000 -0.9487 0 0.3162

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern