This preview shows page 1. Sign up to view the full content.
Unformatted text preview: x (1) =-1 . 6, and A2.dat is the mid point ( x mid ) values in the bisection method for successive itera-tions. A3.dat is a 1x2 vector with the number of iterations for the Newton and bisection respectively as the two components. II Let the following be dened: A = &quot; 1 2-1 1 # , B = &quot; 2 0 0 2 # , C = &quot; 2 0-3 0 0-1 # , D = 1 2 2 3-1 0 x = &quot; 1 # , y = &quot; 1 # , z = 1 2-1 , Calculate the following: (a) A + B , (b) 3 x- 4 y , (c) Ax , (d) B ( x-y ), (e) D x , (f) D y + z , (g) AB , (h) BC , (i) CD ANSWERS : Should be written out as A4.datA12.dat NOTE: Do not put any exclamation marks (!) in your code....
View Full Document
This note was uploaded on 03/23/2012 for the course AMATH 581 taught by Professor Staff during the Fall '08 term at University of Washington.
- Fall '08