#9835: Make desolve more informative when solving BVP
----------------------------+-----------------------------------------------
Reporter: robert.marik | Owner: mhampton
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.6.1
Component: calculus | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by mhampton):
* owner: burcin => mhampton
Comment:
Even after fixing the sytax I still get an error:
{{{
sage: vars = var('x'); y = function('y',x);
sage: soln = desolve(diff(y,x,2) +
100*y*(1-y^2),dvar=y,ivar=x,ics=[0,-1,1,1])
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call
last)
/Users/mh/<ipython console> in <module>()
/Users/mh/sagestuff/sage-4-x/local/lib/python2.6/site-
packages/sage/calculus/desolvers.pyc in desolve(de, dvar, ics, ivar,
show_method, contrib_ode)
436 maxima_method=P("method")
437 if not is_SymbolicEquation(soln.sage()):
--> 438 raise NotImplementedError, "Unable to use initial
condition for this equation (%s)."%(str(maxima_method).strip())
439 if len(ics) == 2:
440 tempic=(ivar==ics[0])._maxima_().str()
NotImplementedError: Unable to use initial condition for this equation
(freeofx).
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9835#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.