Differential Equations Project - must be completed in Maple 2018 program
NEED ALL PARTS OF THE PROJECT (A - F)
In this Maple lab you learn the Maple commands for computing
Laplace
transforms and inverse Laplace transforms, and using them to solve
initial
value problems.
A. Quite simply, the calling sequence for taking
the Laplace transform of
a function f(t) and expressing it as a function of a new variable s
is
laplace(f(t),t,s) .
The command for computing the inverse Laplace transform of a
function
F(s) and expressing it as a function of a variable t is
invlaplace(F(s),s,t) .
B. Laplace transform techniques are most useful
when the right hand side
of the differential equation is either discontinuous or contains
the Dirac
delta function. The names in Maple for the functions that arise in
these
situations are:
for the unit step function with a step from 0 to 1 at x = 0 :
Heaviside(t)
for the Dirac delta function:
Dirac(t)
For the remainder of the lab we'll go through a number of
examples.
1. Load the integral transforms package:
with(inttrans):
C. Let's begin by having Maple compute the
Laplace transform of the
f(t) = t^2*sin(pi*t), and then inverting it. The name Pi (note
the
capitalization) is reserved in Maple for the constant
3.1415....
f:=t^2*sin(Pi*t);
F:=laplace(f,t,s);
ff:=invlaplace(F,s,t);
D. Now let's solve a straightforward initial
value problem using Laplace
transform methods, but having Maple compute the transform and
invert
it for us. We'll solve
y'' + y' + 3*y = cos(t), y(0) = 2, y'(0) = -1 .
The example illustrates that we can apply the operator laplace
to the
entire o.d.e. at once. The fact that Maple doesn't know what the
function
y(t) is doesn't matter; it simply returns the name
laplace(y(t),t,s) for
the unknown Laplace transform, meanwhile applying the rules
for
turning differentiation into multiplication.
de1:= diff(y(t),t,t) + diff(y(t),t) + 3*y(t) = cos(t);
Lde1:=laplace(de1,t,s);
We could now apply the initial conditions and solve for the
Laplace transform
Y(s) of the solution by hand. Instead, we'll use the substitution
command subs
and the solve command:
Lde1:=subs(y(0)=2,D(y)(0)=-1,Lde1);
Y1:=solve(Lde1,laplace(y(t),t,s));
y1:=invlaplace(Y1,s,t);
Please do upload all parts... THANKS!
E. Now let's solve an initial value problem with discontinuous right hand side:
y'' + 0.5y' + 4y = f(t) , y(0) = 1, y'(0) = 0
where
f(t) = cos(3t) for 0 < t < 10*pi, f(t) = 0 otherwise.
This i.v.p. models a damped forced spring-mass system, for which
the periodic
forcing is removed at time 10*pi.
f2:=(1-Heaviside(t-10*Pi))*cos(3*t);
de2:=diff(y(t),t,t) + (1/2)*diff(y(t),t) + 4*y(t) = f2;
Lde2:=laplace(de2,t,s);
Lde2:=subs(y(0)=1,D(y)(0)=0,Lde2);
Y2:=solve(Lde2,laplace(y(t),t,s));
y2:=invlaplace(Y2,s,t);
We can't tell much from the formula for y2(t), so let's look at the graph.
plot(y2,t=0..15*Pi);
It makes sense: there is a transient until the system oscillates in
step with the periodic
forcing; the system then oscillates until the forcing is removed,
at which point the
motion damps out.
F. Finally, let's consider a system with an
impulsive force:
y'' + 4y = g(t) , y(0) = 1, y'(0) =2
where
g(t) = 3*delta(t-4) .
This i.v.p. models an undamped, unforced spring-mass system to
which a sharp
blow of magnitude 3 is applied at time t = 4 .
f3:=3*Dirac(t-4);
de3:=diff(y(t),t,t) + 4*y(t) = f3;
Lde3:=laplace(de3,t,s);
Lde3:=subs(y(0)=1,D(y)(0)=2,Lde3);
Y3:=solve(Lde3,laplace(y(t),t,s));
y3:=invlaplace(Y3,s,t);
Again, we can't tell much from the formula for y3(t), so let's look at the graph.
plot(y3,t=0..10);
The blow is in the direction opposite to the motion at time 4 ,
and induces a new
oscillation at a smaller amplitude.
Now start your own Maple session, and solve the following three
problems using
Laplace transforms. Note that plotting the solutions is
involved.
Problem 1.
Find the solution of the following intial value problem, and plot
it on the interval
from t = 0 to t = 4*Pi.
y'' + 2y' +2y = f(t), y(0) = 0, y'(0) = 1
where
f(t) = 2 for pi < t < 2pi , and is zero otherwise
Problem 2.
Find the solution of the following intial value problem, and plot
it on the interval
from t = 0 to t = 8*Pi.
y'' + 2y' +2y = g(t), y(0) = 0, y'(0) = 0
where g(t) is the cosine function for all time, except for a
sharp blow of
magnitude 3, in the positive direction, at time (5/2)pi .
Problem 3.
Laplace transform methods work equally well, with no extra effort
on your part,
for higher order o.d.e.'s, as the following problem illustrates.
Solve the following
initial value problem, and plot the solutiion on the interval from
t = 0 to t = 12.
Remark: you can express the second derivative by diff(y(t),t$2) ,
and similarly for
third and fourth derivatives. You can express the initial
conditions involving the
higher derivatives using (D@@3)(y)(0)=2/3 and so on.
y'''' + 3y''' + 6y'' + 12y' + 8y = h(t), y(0) = 1, y'(0) = -2, y''(0) = 1/2, y'''(0) = 2/3
where h(t) corresponds to a sharp blow of magnitude 24, in the
negative
direction, at time 2 (but h(t) is zero otherwise).
Differential Equations Project - must be completed in Maple 2018 program NEED ALL PARTS OF THE PR...
Please answer parts c-d only. 4. In lab 4 we consider the differential equation y" 2yywyF(t) for different forcing terms F(t). In this problem we analyze this equation further using Laplace transforms 0, t<1 (a) Consider y" + y, +40y-1(t), where I(t)- t < 2. Find 1 1, 0. t>2 the forward transform Y-E(y) if y(0)-y(0)-0 (b) Solve y" + y, + 40y-1, y(0) = y'(0) = 0, using Laplace transforms Notice how the value of Y (s) you obtain...
Solve for Y(s), the Laplace transform of the solution y(t) to the initial value problem below. y'' + 2y = 2t4, y(0) = 0, y'(0) = 0 Click here to view the table of Laplace transforms. Click here to view the table of properties of Laplace transforms. Y(s) = Solve for Y(s), the Laplace transform of the solution y(t) to the initial value problem below. y" -7y' + 12y = 3t e 3t, y(0) = 4, y'(0) = -1 Click...
please please please answer all! its very appreciated! Solve the initial value problem below using the method of Laplace transforms. y'' + 4y' - 12y = 0, y(0) = 2, y' (O) = 36 Click here to view the table of Laplace transforms. Click here to view the table of properties of Laplace transforms. y(t) = 0 (Type an exact answer in terms of e.) Solve the initial value problem below using the method of Laplace transforms. y'' - 8y'...
The following has 3 exercises and each exercise consists of multiple parts. please take into consideration all 3 exercises and answer each and every part of each exercise including the subquestions found in it!! Exercise 1 Find the Laplace transform of the following functions: 1. f(t) = 5t3e-46 2. f(t) = cos(26)U(t - T) 3. k(t) = {2-1, t<2 t> 2 4. f(t) = etsin (3) Exercise 2 Use Laplace transforms to compute the solution y(t) of the initial value...
Solve the system of equations with Laplace Transforms: (differential equations) all parts please Solve the system of equations with Laplace Transforms: x' + y' = 1, x(0) = y(0) = x'(0) = y'(0) = 0. y" = x' Let X(s) = LT of x(t) and Y(s) = LT of y(1). First obtain expressions for X(s) and Y(s) and list them in the form ready for obtaining their inverses. a. Y(s) = X(s) = %3D b. Now obtain the inverse transforms....
Question 7: Solve the entire problem using Laplace Transforms. Recall the DE for our two-vessel water clock ах - Ax, where A dt k(0)= DE IC: -1] Let X(s) denote the Laplace transform of x(t). Then x(s) = (sl-A)-1 (0) There is no forcing term, so this is just the zero-input or homogeneous solution. Solve for X(s) and record your answer in the answer template. The first component has been given for you Question 7: The solution in the transform...
Q4. Laplace Transforms a) (20 points) Solve the differential equation using Laplace transform methods y" + 2y + y = t; with initial conditions y(0) = y(O) = 0 |(s+2) e-*) b) (10 points) Determine L-1 s? +S +1
HI, PLEASE ANSWER ALL PARTS AND PLEASE SHOW ALL WORKINGS STEP BY STEP. THANK YOU. a) Show from first principles that the Laplace transform of the function (0)=1, a 20 is f(3) = Make a note of any conditions imposed on the transform variable "s" to ensure the transform exists. (8 Marks) b) Find, using the appropriate theorem, the Laplace transform of a function f(t): f(t) = e-3t.sin(4t) OR Find the inverse Laplace transform of the following: ses f(s) =...
Compute Laplace transforms of the following functions: (a) f1 = (1 + t) (b) f2 = eat sin(bt) 11, 0<t<1, (c) f3 = -1 1<t<2, | 2, t>2, Find the functions from their Laplace transforms: (a) Lyı] s(s + 1) (s +3) 2+s (b) L[42] = 52 + 2 s +5 (c) L[y3] = Solve the following initial value problems using the Laplace transform. Confirm each solution with a Matlab plot showing the function on the interval 0 <t<5. (a)...
Solve for Y(s), the Laplace transform of the solution y(t) to the initial value problem below. y" +2y = 2+2 -7,y(0) = 0, y'(0) = - 3 Click here to view the table of Laplace transforms. Click here to view the table of properties of Laplace transforms. Y(s)-