And I should note that Tom's code can also compute the Laplace
transform if you want to do it that way:
In [13]: var('s')
Out[13]: s
In [14]: inverse_laplace_transform(exp(-5*s)/s, s, t)
Out[14]: Heaviside(t - 5)
Aaron Meurer
On Mon, Jan 9, 2012 at 1:36 PM, Aaron Meurer asmeu...@gmail.com
Thanks to Tom's Google Summer of Code project, SymPy can indeed solve
this problem. The code is only in the git master, but will be included
in SymPy 0.7.2.
In [3]: dsolve(Derivative(y(x),x) - Heaviside(-5 + x), y(x))
Out[3]:
⎧ │x│
y(x) = C₁ + 5⋅⎪
2012/1/9 Aaron Meurer asmeu...@gmail.com
Thanks to Tom's Google Summer of Code project, SymPy can indeed solve
this problem. The code is only in the git master, but will be included
in SymPy 0.7.2.
This looks pretty good, I will try and compile the git version.
Thanks.
--
Renan Birck