# Tag Info

There are two aspects in this problem depending on the exact definition of the task, and, as we shall see, both are completely solved by MMA without any additional facility. The aspects are a) calculate the interpolation of the definite integral $f=\int_0^t \sqrt{1+x^3} \, dx$ b) calculate the interpolation of the antiderivative $fad=\int\sqrt{1+x^3} \, ... 3 You forgot to put the body of the function in a Module. You also have A where I assume you mean to have a. Corrected: f[n_] := Module[{a, b, v}, a = Table[i^j, {i, 1, n}, {j, 1, n}]; b = Inverse[a]; v = Table[Mod[i, 2], {i, 1, n}]; b.v ] f[5] {128/15, -(40/3), 22/3, -(5/3), 2/15} However, for this particular function I would ... 2 The following works in Version 9.0.1.0 and Version 10.0.1.0 BoxForm`$UseTemplateSlotSequenceForRow = False; {x^a, Sqrt@b, ArcSin[c]} // Row // TeXForm (* x^a\sqrt{b}\sin^{-1}(c) *)