Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
How about
You can avoid the numerical glitch at about x=7.7 seen in the pic either by setting TOL to 10^-6 or lower or by adding 10^5 as the third argument (intervals) of the odesolve function
How about
You can avoid the numerical glitch at about x=7.7 seen in the pic either by setting TOL to 10^-6 or lower or by adding 10^5 as the third argument (intervals) of the odesolve function
The derivative of the function y(x) you are looking for, so y'(x), is (+ or -):
where c is a constant.
Proof:
To find y(x) you have to integrate this function y'(x), which will give you another integration constant.
Success!
Luc