% data for Exercise Set 8.2

ex = input('Exercise number (1,2,7-14)? ');

if ex==1
   A = [5 1/3;1/3 1], x = [6;1], y = [1;3] 
elseif ex==2
   A = [4 3 0;3 2 1;0 1 1], x = [2;-1;5], y = [1/sqrt(3);1/sqrt(3);1/sqrt(3)] 
elseif ex==7
   A = [1 5;5 1] 
elseif ex==8
   A = [9 -4 4;-4 7 0;4 0 11] 
elseif ex==9
   A = [3 -2;-2 6] 
elseif ex==10
   A = [9 -4;-4 3] 
elseif ex==11
   A = [2 5;5 2] 
elseif ex==12
   A = [-5 2;2 -2]  
elseif ex==13
   A = [1 -3;-3 9] 
elseif ex==14
   A = [8 3;3 0] 
else
   disp('No data for this exercise in Section 8.2.')
end
