# Why won't my function show in my plot? [closed]

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?

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

## closed as too localized by m_goldberg, Silvia, Sjoerd C. de Vries, Artes, Yves KlettJun 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.

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}]


Try quitting the kernel (or Mathematica) and restarting.

-