Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News Sign UpSign In
| Download

Basic usage of the Laplace transform

Views: 40
var('s t'); # Defining variables f = e^(-3*t)*cos(4*t); # The function we wish to calculate the Laplace transform q = cos(4*t); # The function without the decaying factor e^(-3t) g = q.laplace(t,s) # The Laplace transform of q h # displaying q h = f.laplace(t,s); # The Laplace transform of f h # displaying h plot(g,(-10,10), color='green')