function x = prob2_2(n) 

x = 0.1

for i=2:n
    x = [x,1-2*x(i-1)^2];
end