% hw009.m
% John Burkardt
% For I from 100 to 200,
% compute I^2 and add it to a sum.
%
s = 0;
for i = 100 : 200
  s = s + i^2;
end
fprintf ( 'The sum of I^2 from I=100 to 200 is %d\n', s );
