Comment #7 on issue 1621 by asmeurer: Initial conditions in dsolve()
http://code.google.com/p/sympy/issues/detail?id=1621

I think the syntax should be dsolve(ode, f(x), ics={f(0):1, f'(0):2}).

As far as solving, I think we should just try to solve for the constants with what's given. If it can do it, then great. If it can't then either you gave an inconsistent or underdetermined set of initial conditions, or solve() isn't good enough. Either way, it's the problem of solve(). I would be nice to be able to say "these initial conditions are underdetermined/inconsistent" instead of just "maybe the ics aren't any good, or maybe solve() isn't good enough," and also to be a able to give a parameterized family of solutions when they are underdetermined, but these are all things that would have to be implemented in solve() first.

By the way, the nicer syntax from issue 1620 would make these much easier to enter for derivatives (right now you would have to call .subs, which is a little clunky).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to