Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3442 by [email protected]: dsolve fails for a separable equation
http://code.google.com/p/sympy/issues/detail?id=3442

C1, C2 = symbols('C1, C2')
eq = f(x).diff(x) + 1 + 2*f(x) + f(x)**2

# separable_Integral gives the correct solution
sol2 = dsolve(eq, hint='separable_Integral').doit()
print sol2
assert checkodesol(eq,sol2,solve_for_func=False)[0]

# separable gives an incorrect solution
sol1 = dsolve(eq, hint='separable')
print sol1
assert checkodesol(eq,sol1)[0]

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to