function it = iter(x,n)

it = zeros(n,1);
for k = 1:n
  x = x*x-2;
  it(k) = x;
end
