Here is a simple procedure doing numerical inverse Laplace transform using Post's inversion formula,
ILT:=proc(f,s) local k,dig;
if nargs>2 and type(args[-1],'posint') then dig:=args[-1]
else dig:=Digits fi;
proc(T) local t,d,a;
while op(0,a)='Limit' do
evalf(a,dig) end end:
The original version of the procedure looked much more simple,
ILT:=proc(f,s) local k;
end;but later I corrected it so that it would work for a wider class of functions. Here is a simple example,
100.0000000It can be plotted,
It can be also used with 3 arguments, where the 3rd argument is the number of digits. For example,
.55114638447971781305e49Still, it works only for functions that can be differentiated quite simply. It doesn't work for most of test examples in Axel Vogt's post below.
I'd like to thank Axel Vogt and Georgios Kokovidis for their comments below. Axel Vogt's program works for much wider class of functions than ILT. A good thing would be if a future version of Maple provided access to NAG Fortran library functions for inverse Laplace transform, C06LBF and C06LCF (Weeks' method) and an older procedure C06LAF (Crump's method).