First time here? Check out the FAQ!

Ask Your Question
2

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

asked 8 years ago

G B gravatar image
var('s')
var('t',domain='positive')
laplace(heaviside(t),t,s)

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?

Preview: (hide)

Comments

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

kcrisman gravatar imagekcrisman ( 8 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

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)
Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 8 years ago

Seen: 497 times

Last updated: Apr 20 '16