Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I defined a function f as

f[x_] := x^3/(x^2 + 1);

and a function F as

F[x_] := x*NIntegrate[f[t], {t, 0, x^3 - x}];

and then I tried to make a plot of F with

Plot[F[x], {x, 0, 2}]

How is it possible F[1] = 0 and not show in the graph?

share|improve this question

closed as too localized by m_goldberg, Silvia, Sjoerd C. de Vries, Artes, Yves Klett Jun 15 '13 at 10:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
It works for me in this form. Maybe try PlotRange->All. Or reset kernel. –  Kuba Jun 15 '13 at 9:17

1 Answer 1

This should be comment but I can't show the resulting plot in a comment.

Your code produces a reasonable plot on my system (V.9.0.1 on OS X).

f[x_] := x^3/(x^2 + 1)
ff[x_] := x*NIntegrate[f[t], {t, 0, x^3 - x}]
Plot[ff[x], {x, 0, 2}]

enter image description here

Try quitting the kernel (or Mathematica) and restarting.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.