Skip to main content
-MFra-
21-Topaz II
Solved

Solving two simple ordinary differential equations with odesolve. Why the second one fails?

Hi all!

Maybe I'm losing in a glass of water, but I can not solve the second differential equation with odesolve, in the problem hereunder exposed. What's wrong?

two simple odes.jpg

1-Visitor

Dear F.M.,

Choose the method for solving the ODE by right-clicking on Odesolve: Adaptive instead AdamsBDF.

two_eq.png

Viktor

9 replies

1-Visitor

Hi F.M.

I'm missing the equation Fy(x) in the solver.

(or is it F0y(x)?) if yes, i got this solution:

is this right?

Best Regards, Volker

Translate
-MFra-
-MFra-21-Topaz IIAuthor
21-Topaz II

Thanks Volker,

This is a basic case and I need to check out the results.

In the general case, the analytical solution of the first equation is not known. It is used in the second where the problem arises.

Greetings

Frank

Translate
1-Visitor

Hi Frank,

And the answer is sooooooo easy with the choice of Adaptive mode.

You can keep your sheet like it was in the origin and change only to adaptive and it works perfectly.

Viktor is absolutely right.

Man lernt nie aus....

Greetings, Volker

Translate
1-Visitor

Dear F.M.,

Choose the method for solving the ODE by right-clicking on Odesolve: Adaptive instead AdamsBDF.

two_eq.png

Viktor

Translate
-MFra-
-MFra-21-Topaz IIAuthor
21-Topaz II

Hi Viktor,

thank you very much.

Greetings

Frank

Translate
1-Visitor

Frank, I was glad to help. But I do not know why Adams/BDF-method not work here.

Viktor

Translate