% data for Exercise Set 3.7

ex = input('Exercise number (2,3, 5-7, 9)? ');

if ex==2
   C = [.1 .6 .6;.3 .2 0;.3 .1 .1], d = [0;18;0] 
elseif ex==3
   C = [.1 .6 .6;.3 .2 0;.3 .1 .1], d = [18;0;0] 
elseif ex==5
   C = [0 .5;.6 .2], d = [50;30] 
elseif ex==6
   C = [.1 .6;.5 .2], d = [18;11] 
elseif ex==7
   C = [0 .5;.6 .2], d = [50;30], d1 = [51;30] 
elseif ex==9
   C = [.2 .2 0;.3 .1 .3;.1 0 .2], d = [40;60;80] 
else
   disp('No data for this exercise in Section 3.7.')
end
