s03 - Ma 449 Numerical Applied Mathematics Model Solutions...

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

Ma 449: Numerical Applied Mathematics Model Solutions to Homework Assignment 3 Prof. Wickerhauser Exercise 1(iii) of Section 3.1, p.108. < M A T L A B > Version of 25 May 1982 Ported to NeXT 30 Nov 1991 HELP is available <> x=[4,-8,1]; y=[1,-12,-11]; <> x+y ANS = 5. -20. -10. <> x-y ANS = 3. 4. 12. <> 3*x ANS = 12. -24. 3. <> norm(x) ANS = 9. <> 7*y-4*x ANS = -9. -52. -81. <> x*y' ANS = 89. <> norm(7*y-4*x) ANS = 96.6747 Exercise 4(c) of Section 3.1, p.108. <>a=[-1 9 4;2 -3 -6; 0 5 7] A = -1. 9. 4. 2. -3. -6. 0. 5. 7. <>b=[-4 9 2; 3 -5 7; 8 1 -6] B = -4. 9. 2. 3. -5. 7. 8. 1. -6. <>3*a-2*b ANS = 5. 9. 8. 0. 1. -32. -16. 13. 33. Exercise 5(a) of Section 3.1, p.108. <>A = [-2 5 12; 1 4 -1; 7 0 6; 11 -3 8] = -2. 5. 12. 1. 4. -1. 7. 0. 6. 11. -3. 8. <>A' = -2. 1. 7. 11.

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

View Full Document
5. 4. 0. -3. 12. -1. 6. 8. Exercise 2 of Section 3.2, p.118. <>A=[1 -2 3; 2 0 5]; B=[3 0;-1 5; 3 -2]; <>A*B = 14. -16. 21. -10. <>B*A = 3. -6. 9. 9. 2. 22. -1. -6. -1. Exercise 5(a*) of Section 3.2, p.118. Use Matlab: <> a=[-1 -7; 5 2]; det(a) ANS = 33. or else compute det(a)= (-1)(2)-(5)(-7)= -2+35 = 33. Exercise 5(b) of Section 3.2, p.118. <>A=[2 0 6; -1 5 -4; 3 -5 2];
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 5

s03 - Ma 449 Numerical Applied Mathematics Model Solutions...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online