Comment #8 on issue 2802 by [email protected]: solve error with expression
with derivative
http://code.google.com/p/sympy/issues/detail?id=2802
reverted (happily) to
```python
def test_issue_2802():
f, g, h = map(Function, 'fgh')
a = Symbol('a')
assert solve(f(x)+f(x).diff(x), f(x)) == \
[-Derivative(f(x), x)]
assert solve(f(x) - 3, f(x)) == \
[3]
assert solve(f(x) - 3*f(x).diff(x), f(x)) == \
[3*Derivative(f(x), x)]
assert solve([f(x) - 3*f(x).diff(x)], f(x)) == \
{f(x): 3*Derivative(f(x), x)}
assert solve([f(x) - 3*f(x).diff(x), f(x)**2 - y + 4], f(x), y) == \
[{f(x): 3*Derivative(f(x), x), y: 9*Derivative(f(x), x)**2 + 4}]
```
It wasn't clear that what you wanted and I am relieved that we're not
trying to do the dsolve from solve.
--
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.