If I have a multivariable integration like
NIntegrate[x^2 + y^2, {x, 1, 5}, {y, 6, 10}]
But I need to plot its result in terms of x . Then how to do it ?
|
If I have a multivariable integration like
But I need to plot its result in terms of |
||||
|
I think this would be your answer :
and this would be your Graphic :
|
|||
|
|
|
DSaad's answer above is correct. You can use symbolic integration to get the formula. The solution when using numeric integration (NIntegrate instead of Integrate) is more complicated. You must use ?NumericQ to delay the evaluation of the numeric integral:
To see why ?NumericQ is needed here, please see: http://support.wolfram.com/kb/3820 |
|||
|
|
x,y? – b.gatessucks Aug 26 '12 at 17:25With[{int = Integrate[x^2 + y^2, {y, 6, 10}, {x, 0, t}]}, Plot[int, {t, 0, 10}]]? – rm -rf♦ Aug 26 '12 at 17:27