Issue 3069 in sympy: dsolve gets too many constants for a first order linear ode

2012-02-12 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 3069 by trel...@psu.edu: dsolve gets too many constants for a first order linear ode http://code.google.com/p/sympy/issues/detail?id=3069 ode2 = (2*t+3)*Derivative(y(t),t) + (4*t**2 + 12*t+7)*y(t) sol = dsolve(ode2,y(t))

Re: Issue 3069 in sympy: dsolve gets too many constants for a first order linear ode

2012-02-12 Thread sympy
Comment #1 on issue 3069 by trel...@psu.edu: dsolve gets too many constants for a first order linear ode http://code.google.com/p/sympy/issues/detail?id=3069 Digging in, this is a problem with 'separable'. Using the hint '1st_linear', this works out fine. Seems first-order linear homoge

Re: Issue 3069 in sympy: dsolve gets too many constants for a first order linear ode

2012-02-13 Thread sympy
Updates: Labels: NeedsReview smichr Comment #2 on issue 3069 by smi...@gmail.com: dsolve gets too many constants for a first order linear ode http://code.google.com/p/sympy/issues/detail?id=3069 I added more preprocessing to odesimp which handles this, and similar, situations: https

Re: Issue 3069 in sympy: dsolve gets too many constants for a first order linear ode

2012-03-14 Thread sympy
Updates: Status: Accepted Comment #3 on issue 3069 by asmeu...@gmail.com: dsolve gets too many constants for a first order linear ode http://code.google.com/p/sympy/issues/detail?id=3069 I agree. See issue 2235 (actually, 1st_linear should go before separable because the solution i

Re: Issue 3069 in sympy: dsolve gets too many constants for a first order linear ode

2012-03-17 Thread sympy
Comment #4 on issue 3069 by smi...@gmail.com: dsolve gets too many constants for a first order linear ode http://code.google.com/p/sympy/issues/detail?id=3069 time we cleaned up the mess that is constant simplification Do you want to commit https://github.com/sympy/sympy/pull/1050 in the

Re: Issue 3069 in sympy: dsolve gets too many constants for a first order linear ode

2012-03-21 Thread sympy
Updates: Labels: -NeedsReview -smichr Comment #6 on issue 3069 by smi...@gmail.com: dsolve gets too many constants for a first order linear ode http://code.google.com/p/sympy/issues/detail?id=3069 (No comment was entered for this change.) -- You received this message because you are

Re: Issue 3069 in sympy: dsolve gets too many constants for a first order linear ode

2012-03-22 Thread sympy
Updates: Status: Fixed Comment #7 on issue 3069 by smi...@gmail.com: dsolve gets too many constants for a first order linear ode http://code.google.com/p/sympy/issues/detail?id=3069 Now, >>> dsolve((2*t+3)*Derivative(y(t),t) + (4*t**2 + 12*t+7)*y(t)) log(y(t)) == C1 - t**2 -