So, I have an iterative function that looks something like this.
$$f(x_n) = (x_n + 0.08) \cdot 0.98$$
e.g. So if $n = 2$ and $x$ started at $0$, then the equation would be equal to $(((0 + 0.8) \cdot 0.98) + 0.08) \cdot 0.98$, which is $0.155232$.
Is it possible to create a formula that can find the value of any iteration of the function? e.g being able to rewrite the answer as a polynomial (where $x$ is an integer). If it is, how is it done?
We have $$x_n = 0.98 \cdot x_{n-1} + 0.08 \cdot 0.98$$ $$x_{n+1} = 0.98 \cdot x_n + 0.08 \cdot 0.98$$ Subtract to get $$x_{n+1}=1.98 \cdot x_n-0.98 \cdot x_{n-1}$$ You get the following characteristic polynomial $$p(x)=x^2-1.98x+0.98$$ Whose roots are $x_1=1, \space x_2=0.98$
So the general formula is $x_n=c_1+c_2\cdot 0.98^n$
Using $x_1,x_2$ you can find $c_1=3.92, c_2=-3.92$ so your final equation is: $$x_n=3.92-3.92\cdot 0.98^n$$