Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
S=desolve(E,y(x),ivar=x, contrib_ode=True, ics=[0,0,+Infinity,0]);

This comment has been minimized.

Copy link
Owner Author

fusion809 commented Jul 24, 2019


NotImplementedError                       Traceback (most recent call last)
<ipython-input-3-773d704ea403> in <module>()
      2 var("lambda_")
      3 E=diff(y(x),x,Integer(2))-x*y(x)==lambda_*y(x)
----> 4 S=desolve(E,y(x),ivar=x, contrib_ode=True, ics=[Integer(0),Integer(0),+Infinity,Integer(0)]);

/usr/lib/python2.7/site-packages/sage/calculus/desolvers.pyc in desolve(de, dvar, ics, ivar, show_method, contrib_ode, algorithm)
    604             if not show_method:
    605                 maxima_method=P("method")
--> 606             raise NotImplementedError("Unable to use initial condition for this equation (%s)."%(str(maxima_method).strip()))
    607         if len(ics) == 2:
    608             tempic=(ivar==ics[0])._maxima_().str()

NotImplementedError: Unable to use initial condition for this equation (odelin).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.