% This .m file creates the values of the exact solution at the given times
% for the two examples


format long g

delta1 =1.0;


for i=1:6
    x1(i)= (i-1)*delta1;
    y1(i)= exact(x1(i));

end

x1
y1

delta2 =0.1;


for i=1:6
    x2(i)= (i-1)*delta2;
    y2(i)= exact(x2(i));

end
x2(7:9)=[1.0,1.5,2.0];
y2(7)=exact(x2(7));
y2(8)=exact(x2(8));
y2(9)=exact(x2(9));

x2
y2


% use either work space or "format long g" in command window