var('s t');# Defining variablesf=t;# The function we wish to calculate the Laplace transformg=f.laplace(t,s);# The Laplace transform of fg# Displaying gplot(f,t)# The graph of fh=max_symbolic(min_symbolic(g,1000),-1000);# Putting some limit "1000" to avoid the singularities of gplot(h,s)# The graph of the Laplace transform with limitations