Nasser gave a fine and simple enough approach. I will propose a different, not that it is better, but just to give another view.
So, if in general you have an integral y[t]==Integrate[f[x],{x,0,t}], it is equivalent to the differential equation: y'[t]=f[t] with the initial condition y[0]==0. You might solve it numerically and then find the solution of the equation y[t]==J, where Jis the integral value you are assumed to know. Its solution yields the upper integral limit being looked for.
Let f[x]=x^2. Then the solution of the differential equation is
nds = NDSolve[{y'[t] == t^2, y[0] == 0}, y, {t, 0, 3}][[1, 1]];
and the upper integral limit is given by the following:
FindRoot[(y[t] /. nds) == 1, {t, 0.01}] // Quiet
(* {t -> 1.44225} *)
I do not see any advantage with respect to the approach of Nasser, but it was interesting to me that one may operate also this way.
Have fun!
NV[x1_?NumericQ, x2_?NumericQ] := ...instead ofNV[x1_,x2_]. – kglr Feb 24 '15 at 11:35Quietif you have faith in the solution. – Yves Klett Feb 24 '15 at 11:38