Ask Your Question

laplace(heaviside(t),t,s) doesn't return 1/s

asked 2016-04-19 18:14:14 -0500

G B gravatar image

returns an unevaluated function object in stead of returning 1/s. Other functions such as sin(t) and dirac_delta(t) seem to give the correct results. Is this just a blind spot in laplace, or do I need to refine my domains on s or t?

If this transform just isn't implemented, is there an easy way for me to patch it locally?

edit retag flag offensive close merge delete


Hmm, could be that we don't return heaviside to Maxima properly, as they may not have it...

kcrisman gravatar imagekcrisman ( 2016-04-21 21:00:19 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-04-20 14:21:46 -0500

FrédéricC gravatar image

Sympy can do that one as follows:

sage: import sympy
sage: hs=H._sympy_()
sage: sympy.laplace_transform(hs,t,s)
(1/s, 0, True)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-04-19 18:14:14 -0500

Seen: 118 times

Last updated: Apr 20 '16