I need to use NIntegrate inside NDSolve, for example:
NDSolve[{y'[x] == x + NIntegrate[r, {r, 1, y[x]}], y[2] == 0.5}, y, {x, 0, 1}]
How can I make this work?
I need to use NIntegrate inside NDSolve, for example:
NDSolve[{y'[x] == x + NIntegrate[r, {r, 1, y[x]}], y[2] == 0.5}, y, {x, 0, 1}]
How can I make this work?
Comments
Post a Comment