i am trying to solve my homework, but have no Idea how. pls help me
Write a method which generates the following list from a function f
and a starting value x: [x, f ^ 1 (x), f ^ 2 (x), f ^ 3(x)...] f^n(x)
is the n-time application of f to x...