Ask Your Question
1

Solve ODE numerically

asked 2019-06-05 10:50:34 +0200

Hang Wu gravatar image

I'd like to solve this ODE: (y')^2=(1-y^2)*(y^2)/(y^2+a) where a is a nonnegative constant. After that, I'd like to get two solutions: y(x0)=p and y(x1)=q, and obtain the difference x0-x1 numerically (It seems that y may be periodic, and the smallest difference is preferred). I got stuck after using desolve to obtain the function. What should I do?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-06-05 16:17:54 +0200

tmonteil gravatar image

There are various numerical algorithms for solving ODE numerically in Sage, see:

https://doc.sagemath.org/html/en/refe...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-06-05 10:48:51 +0200

Seen: 451 times

Last updated: Jun 05 '19