I have a convergent function $f(x)$.
What I want to do is to create a table of values $f(x)$ until the difference in the two subsequent value satisfies some convergence criterion. Say, I want to stop if $f(x+1)-f(x)<0.1$. The function itself is very ugly and there are random components, so we cannot directly check when it passes the stopping criterion. How can I create a table of {f[1],f[2],\cdots,f[z]}, where z is the first number that passes the criterion.