0

I am trying to make a nested integral operator where the output function of one step must be applied to the dummy variable to be integrated in the next step. Here my code:

w[x_] := Cos[x];
f[t_, n_] := Nest[Integrate[w[t - s] #, {s, 0, t}] &, 1, n];

Observe that, in one step, the output function is applied in $t$ and not $s$. Therefore, in the next integration, $t$ is just a constant, but it must be integrated as well. How can I fix this?

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
Pierre
  • 101

0 Answers0