I am trying to compute multiple integrals for a function. For example we will start with code for multiple derivatives..
Clear[f,x];
f[x_] = Sin[x];
TableForm[Table[D[f[x], {x, n}], {n, 1, 5}]]
would produce
{
{Cos[x]},
{-Sin[x]},
{-Cos[x]},
{Sin[x]},
{Cos[x]}
}
But what about multiple integrals? Using f[x] = x as an example.
I know this is how to integrate, but what about
Clear[f, x];
f[x_] = x;
antideriv = Integrate[f[x],x];
antideriv