I have the following problem

In [1]: from sympy import *

In [3]: x, F, t = symbols('x, F, t')

In [4]: ode = x(t).diff(t) - F(t)

In [5]: sol = dsolve(ode).rhs

In [7]: sol
Out[7]: C1 + Integral(F(t), t)

In [8]: sol.subs(t, 0)
Out[8]: C1 + Integral(F(t), (t, 0))


I want the last expression to evaluate to C1, i.e.

Integral(F(t), t).subs(t, 0)

should vanish instead of returning a "strange" object with one bound
specified.

The application of .doit() does not help either.


BTW: IMHO dsolve should return something like

C1 + Integral(F(tau), (tau, 0, t))

where tau is a dummy variable


Thanks in advance,

Carsten

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/552554E4.1050702%40gmx.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to