This is a
tutorial made solely for the purpose of education and it was designed
for students taking Applied Math 0330. It is primarily for students who
have very little experience or have never used
Mathematica before and would like to learn more of the basics for this computer algebra system. As a friendly reminder, don't forget to clear variables in use and/or the kernel.
Finally, the commands in this tutorial are all written in bold black font,
while Mathematica output is in normal font. This means that you can
copy and paste all commands into Mathematica, change the parameters and
run them. You, as the user, are free to use the scripts for your needs to learn the Mathematica program, and have
the right to distribute this tutorial and refer to this tutorial as long as
this tutorial is accredited appropriately.
Return to computing page for the first course APMA0330
Return to computing page for the second course APMA0340
Return to Mathematica tutorial for the second course APMA0330
Return to Mathematica tutorial for the first course APMA0340
Return to the main page for the course APMA0340
Return to the main page for the course APMA0330
Return to Part VI of the course APMA0330
With f(t) = e^{3t} and g(t) = \cos t , the
convolution theorem states that the Laplace transform of the convolution of f and g is the product of
their Laplace transforms:
for y(t).
We identify the integral in the right-hand side as the convolution of unknown function and the exponential function.
We take the Laplace transform of each term:
Example: Determine the current i(t) in a single-loop LRC circuit when
L = 0.5 henries, R = 3 ohms, C = 0.2 farads, i(0)=0, and the impressed voltage is
E(t) = 127\,t - 127\,t\, H(t-\pi ) .
In a single-loop circuit, Kirchhoff's second law states that the sum of the voltage drops across an inductor,
resistor, and capacitor is equal to the impressed voltage E(t). Then current i(t) is governed by the
integrodifferential equation
The denominator in both expressions contains the polynomial
Q(\lambda ) = \lambda^2 +6\lambda +10 that has two complex conjugate nulls:
\lambda = -3 \pm {\bf j} . Applying the residue method, we find
where H(t) is the Heaviside function. To determine the inverse Laplace transform of the function
f^L (\lambda ) , we need to calculate two residues, at
\lambda =0 and at \lambda = -3+ {\bf j} .
This leads to