Introduction: Prof. Davis has been explaining Laplace Transformations and providing examples of this technique. Prof. Davis also showed two interesting movies on the projector. The films were very entertaining s well as educational.
Using the “syms” function on Matlab, I obtained solutions using a Laplace Transformation:
A.) >> syms A B s t; ilaplace(3*(2+s)/(s^2+2*s-1)+4/(s^2+2*s-1)+1/(s*(s^2+2*s-1)))
ans =
(4*(cosh(2^(1/2)*t) + 2^(1/2)*sinh(2^(1/2)*t)))/exp(t) – 1
B.) >> syms A B s t; x=ilaplace(A*(2+s)/(s^2+2*s-1)+B/(s^2+2*s-1)+1/(s*(s^2+2*s-1)),s,t)
x =
((cosh(2^(1/2)*t) + (2^(1/2)*sinh(2^(1/2)*t)*((2*A + B + 2)/(A + 1) – 1))/2)*(A + 1))/exp(t) – 1

To graph this equation in Matlab, I used the ezplot function with the solution derived by Matlab:
>> ezplot(‘(4*(cosh(2^(1/2)*t) + 2^(1/2)*sinh(2^(1/2)*t)))/exp(t) – 1′, [-9, -5])
Situation 1 : A=-2 B=2
>> ezplot(‘((cosh(2^(1/2)*t) + (2^(1/2)*sinh(2^(1/2)*t)*((2*(-2) + 2 + 2)/((-2) + 1) – 1))/2)*((-2) + 1))/exp(t) – 1′, [-9, -5])

Situation 2: A=2 B=-2
>> ezplot(‘((cosh(2^(1/2)*t) + (2^(1/2)*sinh(2^(1/2)*t)*((2*(2) + -2 + 2)/((2) + 1) – 1))/2)*((2) + 1))/exp(t) – 1′, [-9, -5])

Situation 3: A=2 B=2
>> ezplot(‘((cosh(2^(1/2)*t) + (2^(1/2)*sinh(2^(1/2)*t)*((2*(2) + 2 + 2)/((2) + 1) – 1))/2)*((2) + 1))/exp(t) – 1′, [-9, -5])

Situation 4: A=-2 B=-2
>> ezplot(‘((cosh(2^(1/2)*t) + (2^(1/2)*sinh(2^(1/2)*t)*((2*(-2) + (-2) + 2)/((-2) + 1) – 1))/2)*((-2) + 1))/exp(t) – 1′, [-9, -5])










