Tag Info

Hot answers tagged

9

Use NDSolve antiD = NDSolveValue[{f'[x] == Sqrt[1 + x^3], f[0] == 0}, f, {x, 0, 10}] Example usage: Plot[antiD[x], {x, 0, 10}] Alternatively... This works because this function can be antidifferentiated (by Mathematica). antiD = FunctionInterpolation[ Evaluate @ Integrate[Sqrt[1 + x^3], {x, 0, t}, Assumptions -> 0 < t < 10], {t, 0, ...


3

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) *)



Only top voted, non community-wiki answers of a minimum length are eligible