I have the following code:
u[0, t_, h_] := 0; For[k = 1, k < 11,u[k, t_, h_] =
u[k - 1, t, h] +h Integrate[(D[u[k - 1, \[Tau], h], \[Tau]] +
u[k - 1, \[Tau], h]^2 - 1), {\[Tau], 0, t}];
Print["k=", k, "____", 0 Expand[u[k, t, h]]]; k++]
I want to calculate the integral numerically as it is time consuming by increasing the loop.
NIntegrate
, Mathematica's numerical integration command? $\endgroup$