Define a sequence of function recursively:
f[n_, x_] := D[Exp[x] f[n - 1, x], x]
f[0, x_] = 1
Then, the following Manipulate command does not work:
Manipulate[Plot[f[n, x], {x, 0, 10}], {n, 1, 10, 1}]
It says that
General::ivar: 0.0002042857142857143` is not a valid variable.
I also found out that the problem is due to the differentiation in f[n_,x_]. If I don't have differentiation operation, then everything works fine. Also, I found out that the definition f itself is not a problem, since f[2,x] gives the correct answer $2e^{2x}$.
How can I fix the problem?


Manipulate[Plot[Evaluate@f[n, x], {x, 0, 10}], {n, 1, 10, 1}]– Michael E2 Jul 05 '21 at 14:23