% File: A_10a.M for Appendix A, Section 10 

clear;

x = 0:0.1:5;
y = q(x);

fprintf('\nSee Window for plot.');

semilogy(x,y);
xlabel('x');
ylabel('Q(x)');
title('Hit any key to continue');
grid;
pause;

A = [x(:) y(:)];
save a_10a.dat A /ascii
fprintf('a_10a.dat','\n\nThe previous columns correspond to x and Q(x)\n');
fprintf('\nA table of this plot has been stored in the file A_10a.DAT\n');

