% hw008.m
% John Burkardt
% For I from 0 to 10,
% print I, I squared, square root of I.
%
fprintf ( '\n' );
fprintf ( '   I  I^2         sqrt(I)\n' );
fprintf ( '\n' );
for i = 0 : 10
  fprintf ( '  %2d  %3d  %14.6g\n', i, i^2, sqrt ( i ) );
end
