Iteration |
---|
Iteration is the process of composing a function within itself multiple times. |
Below, we have a function.
Figure 1. |
---|
How would we find f(f(f(2)))?
Figure 2. |
---|
First, we find f(2). Then, we plug the new value back into the equation. Then, we plug the new value back into the equation again.
The first three iterates are 7, 22, and 67.