Skip to main content
Best answer by Werner_E

How about

Werner_E_0-1696576665282.png

 

Werner_E_1-1696576818214.png

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

 

 

2 replies

Werner_E25-Diamond IAnswer
25-Diamond I
October 6, 2023

How about

Werner_E_0-1696576665282.png

 

Werner_E_1-1696576818214.png

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

 

 

23-Emerald IV
October 8, 2023

The derivative of the function y(x) you are looking for, so y'(x), is (+ or -):

LucMeekes_3-1696759512614.png

where c is a constant.

Proof:

LucMeekes_1-1696758549003.png

To find y(x) you have to integrate this function y'(x), which will give you another integration constant.

 

Success!
Luc