Ask Your Question

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

asked 2016-04-20 01:14:14 +0200

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-22 04:00:19 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-04-20 21:21:46 +0200

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-20 01:14:14 +0200

Seen: 384 times

Last updated: Apr 20 '16