s,t=var('s,t')
f=(1/s^2-2*s-8)
inverse_laplace(f,s,t);f
inverse_laplace(f,s,t)