ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 05 Jun 2019 09:17:54 -0500Solve ODE numericallyhttp://ask.sagemath.org/question/46801/solve-ode-numerically/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?Wed, 05 Jun 2019 03:48:51 -0500http://ask.sagemath.org/question/46801/solve-ode-numerically/Answer by tmonteil for <p>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?</p>
http://ask.sagemath.org/question/46801/solve-ode-numerically/?answer=46809#post-id-46809There are various numerical algorithms for solving ODE numerically in Sage, see:
https://doc.sagemath.org/html/en/reference/calculus/sage/calculus/desolvers.htmlWed, 05 Jun 2019 09:17:54 -0500http://ask.sagemath.org/question/46801/solve-ode-numerically/?answer=46809#post-id-46809