function [ n ] = test_fun( x,c,N )
n=1;
while abs(x)<2 && n<N
x=x^2+c;
n=n+1; 
end


end

