Differential Equations For Engineers and Scientists
Differential Equations For Engineers and Scientists
© Solutions Manual Copyright 2012 The McGraw-Hill Companies. All rights reserved. No
part of this manual may be displayed, reproduced, or distributed in any form or by any
means without the written permission of the publisher or used beyond the limited
distribution to teachers or educators permitted by McGraw-Hill for their individual course
preparation. Any other reproduction or translation of this work is unlawful. This work is only
for non-profit use by instructors in courses for which the textbook has been adopted. Any
other use without publisher's consent is unlawful.
8-9 Solving Differential Equations by Laplace Transform
8-99C The solution of differential equations with constant coefficients by Laplace transform
involves three basic steps:
8-100C All initial conditions are incorporated into the solution while we are transforming a
differential equation with constant coefficients by Laplace transform into an algebraic equation.
Therefore we no longer need to deal with the unknown integration constants and apply initial
conditions to determine these constants. It should be, however, noted that the transformed
equation involves specified values of the unknown function and its derivatives at the point .
This limits the application of the Laplace transform to the initial-value problems only.
In Problems 8-101 through 8-119, we are to solve the initial-value problem using the Laplace
transform method.
8-101 Given: ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
condition,
{ } { } { }
[ ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( )( )
The denominator consists of an irreducible quadratic factor and a linear factor, so the expansion
has the form
( )( )
Multiplying the expansion equation by the denominator of the given rational function and
collecting the coefficients of the like terms leaves us with two identical polynomials such that
( ) ( )
( )( )
{ ( )} { } { } { }
or
( ) ( )
Maple solution
> restart;
> with(inttrans);
> a := 0; b := 0; c := 1; d := 3; R := cos(t);
> ode := a*(diff(y(t), t, t, t))+b*(diff(y(t), t, t))+c*(diff(y(t), t))+d*y(t) = R;
> Y1 := (A*s+B)/(s^2+1)+C/(s+3);
>
> PartialFract := convert(Y, parfrac, s);
>
> InvLap := invlaplace(Y, s, t);
8-102 Given: ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
condition,
{ } { } { }
[ ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( )( )
The denominator consists of an irreducible quadratic factor and a linear factor, so the expansion
has the form
( ) ( )
( )( )
{ ( )} { } { } { }
or
( ) ( )
8-103 Given: ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
condition,
{ } { } { }
[ ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( )( )
( )( )
©2012 McGraw-Hill. This work is only for non-profit use by instructors in
courses for which the textbook has been adopted. Any other use without publisher's
consent is unlawful.
The denominator consists of two simple linear factors, so the expansion has the form
( )( ) ( ) ( )
Multiplying the expansion equation by the denominator of the given rational function and
collecting the coefficients of the like terms leaves us with two identical polynomials such that
( )
( )( ) ( ) ( )
{ ( )} { } { }
( ) ( )
or
( ) ( )
8-104 Given: ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
condition,
{ } { } { }
[ ( ) ( )] ( )
( ) ( )
( )
Multiplying the expansion equation by the denominator of the given rational function and
collecting the coefficients of the like terms leaves us with two identical polynomials such that
( )
{ ( )} { } { }
or
( )
Maple solution
> restart;
> with(inttrans);
> a := 0;b := 0;c := 1;d := 1/50;R := 30;
>
> Denominator := factor(denom(Y));
> Y1 := A/(50*s+1)+B/s;
>
> SolIVP := invlaplace(PartialFractionedY, s, t);
>
>
>
> PartialFract := convert(Y, parfrac, s);
>
> InvLap := invlaplace(Y, s, t);
( )
√
( ) ( )
√
{ ( )}
√ √ √
( ) ( ) ( )
{ } { }
√
√
or
√
( ) √
8-106 Given: [ ( )] ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { } { ( ) }
[ ( ) ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( ) ( )
©2012 McGraw-Hill. This work is only for non-profit use by instructors in
courses for which the textbook has been adopted. Any other use without publisher's
consent is unlawful.
By partial fractioning we have
( ) ( )
Then the inverse Laplace transform of the partial fractioned function is obtained to be
{ ( )} { } { } { } { }
( ) ( )
( )( ( ) )
or
( ) ( ) ( )( ( ) )
{ } ( )
( )
8-107 Given: ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { } { }
[ ( ) ( ) ( )] [ ( ) ( )]
( )
[ ( ) ] [ ( )]
( )
Solving for ( ),
( )
( )( )
The denominator consists of two linear factors and an irreducible quadratic factor, so the
expansion has the form
( )( )
Multiplying the expansion equation by the denominator of the given rational function and
collecting the coefficients of the like terms leaves us with two identical polynomials such that
( ) ( ) ( )
( )
( )( ) ( ) ( )
or
( ) ( )
8-108 Given: [ ( ) ( )] ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } {[ ( ) ( )]}
[ ( ) ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( ) ( )
By partial fractioning we have
( ) ( )
( ) ( √ )
Then the inverse Laplace transform of the partial fractioned function is obtained to be
{ } { }
( √ )
√ ( ) ( ) [ √ ( )]
√
( ) ( ) [ √ ( )]
or
( ) √ ( )( [ √ ( )]) ( )( [ √ ( )])
√
8-109 Given: ( ) ( ) ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { } { ( )} { ( )}
[ ( ) ( ) ( )] [ ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( )
By partial fractioning we have
( )
( )
√
( )
( ) (√ ) √ ( ) (√ )
√
{ ( )} { }
√ ( ) (√ )
( )
√ ( ) ( ) [√ ( )]
√
( )
( ) [√ ( )]
√
or
( ) √ ( )
√
( )
( ) ( [√ ( )] [√ ( )])
√
8-110 Given: ( ) ( ) ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { } { ( )} { ( )}
[ ( ) ( ) ( )] [ ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( )
By partial fractioning we have
√
( ) ( )
( ) ( ) ( ) (√ ) √ ( ) (√ )
( ) √
{ ( )} { } { }
( ) (√ ) √ ( ) (√ )
( ) ( ) √
{ } { }
( ) (√ ) ( ) (√ ) √ ( ) (√ )
( ) √
{ } { }
( ) (√ ) √ ( ) (√ )
( )
√ √ ( ) ( ) [√ ( )]
√
( ) ( )
[√ ( )]
√
or
( ) ( √ √ ) ( )
√
( )
( ) ( [√ ( )] [√ ( )])
√
Maple solution
> restart;
> with(inttrans);with(DEtools);
> a4 := 0;a := 0;b := 1;c := 2;d := 3;R := 3*Dirac(t)+Heaviside(t-2);
> ode := a4*(diff(y(t), t, t, t, t))+a*(diff(y(t), t, t, t))+b*(diff(y(t), t, t))+c*(diff(y(t), t))+d*y(t) = R;
8-111 Given: ( ) ( )
Solution: Taking the Laplace transform of the differential equation, and setting ( ) we
have,
{ } { } { } { }
[ ( ) ( ) ( )] [ ( ) ( )] ( )
[ ( ) ] [ ( ) ] ( )
( ) ( )
Solving for ( ),
√
( )
( )
√ √ √ √
( ) ( ) ( ) ( ) ( ) ( )
√ √
( )
√
The value of can be determined by introducing the given boundary condition at , e.g.
( ) . Indeed we have
( √ √ )
√
√ √ √
8-112 Given: ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { }
[ ( ) ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( )( ) ( )( )( )( )
The denominator consists of four linear factors and an irreducible quadratic factor, so the
expansion has the form
( )( )( )( )
Multiplying the expansion equation by the denominator of the given rational function and
collecting the coefficients of the like terms leaves us with two identical polynomials such that
( ) ( ) ( )
( )( )( )( )
( )
or
( )
Maple solution
> restart;
> with(inttrans);with(DEtools);
> a4 := 0;a := 0;b := 1;c := 0;d := -4;R := 2*sinh(3*t);
>
>
> ode := a4*(diff(y(t), t, t, t, t))+a*(diff(y(t), t, t, t))+b*(diff(y(t), t, t))+c*(diff(y(t), t))+d*y(t) = R;
> Y1 := A/(s-3)+B/(s+3)+C/(s-2)+E/(s+2);
8-113 Given: ( ) ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { ( )}
[ ( ) ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
or
( )
8-114 Given: ( ) ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { }
[ ( ) ( ) ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( )( ) ( )( )( )
The denominator consists of two linear factors and an irreducible quadratic factor, so the
expansion has the form
( )( )( )
Multiplying the expansion equation by the denominator of the given rational function and
collecting the coefficients of the like terms leaves us with two identical polynomials such that
( ) ( ) ( )
{ ( )} { } { } { }
( ) (√ )
√
{ }
√ ( ) (√ )
√ √
√
or
( ) [( ) ( √ √ √ )]
8-115 Given: ( ) ( ) ( )
Solution: Taking the Laplace transform of the differential equation and incorporating the initial
conditions,
{ } { } { } { }
[ ( ) ( ) ( ) ( )] [ ( ) ( )] ( )
( ) ( )
Solving for ( ),
( )
( ) ( )( )
The denominator consists of two linear factors and (three fold), and an irreducible
quadratic factor, so the expansion has the form
( )( )
Multiplying the expansion equation by the denominator of the given rational function and
collecting the coefficients of the like terms leaves us with two identical polynomials such that
( ) ( )
( )( )
( )
√
( ) ( )
Or
√
( )
√ √ √
( ) ( ) ( ) ( )
{ ( )} { }
√
( ) ( )
{ }
√
{ } { } { }
√ √
( ) ( )
{ }
√ √
√
©2012 McGraw-Hill. This work is only for non-profit use by instructors in
courses for which the textbook has been adopted. Any other use without publisher's
consent is unlawful.
or
√ √
( )
√
which is the desired solution.
8-116 Given: ( )
Solution: Taking the Laplace transform of the differential equation, and setting ( ) we
have,
{ } { } { }
[ ( ) ( )] ( )
( )
( ) ( )
( )
Solving for ( ),
( )
( )
Using the inverse transform we then obtain,
( )
The value of can be determined by introducing the given initial condition at , e.g.
( ) . Indeed we have
( ) ( )
( ) ( ) ( ) ( ) ( )
8-117 Given:
Solution: Taking the Laplace transform of the differential equation, and setting ( ) and
( ) we have,
( ) { }
{ }
[ ( ) ( ) ( ) ( ) ( )]
[ ( ) ]
©2012 McGraw-Hill. This work is only for non-profit use by instructors in
courses for which the textbook has been adopted. Any other use without publisher's
consent is unlawful.
Solving for ( ) and partial fractioning we get,
( )
{ ( )} { } { } { }
or
( )
and
( )
( )
( )
( )
or
( ) ( )
8-118 Given: ( ) ( )
Solution: First, we notice that the initial conditions are not specified at . The only way that
we can take the Laplace transform of is to have the initial conditions at this point. Setting
we have,
( ) ( ) [ ( )]
we get
( ) ( ) ( )
( ) ( ) ( )
( ) ( ) ( )
Therefore the given IVP in terms of new variables and initial conditions is
[ ( )] ( ) ( )
So, taking the Laplace transform of this new differential equation and plugging in the initial
conditions yields
{ } { } { [ ( )]}
[ ( ) ( ) ( )] ( )
[ ( ) ] ( )
Solving for ( ),
( )
( )
( )( )
By partial fractioning we have
( )
( )( )
Thus we get
( )
Now, taking the inverse transform will give the solution to the new IVP:
{ ( )} { } { } { } { }
{ } { }
( )
( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
8-119 Given: ( ) ( )
Solution: First, we notice that the initial conditions are not specified at . The only way that
we can take the Laplace transform of is to have the initial conditions at this point. In addition,
the differential equation can be expressed as
( )
since ( ). Setting
we have,
( ) ( )
( ) ( ) ( )
we get
( ) ( ) ( )
( ) ( ) ( )
( ) ( ) ( )
Therefore the given IVP in terms of new variables and initial conditions is
( ) ( )
So, taking the Laplace transform of this new differential equation and plugging in the initial
conditions yields
{ } { } { }
©2012 McGraw-Hill. This work is only for non-profit use by instructors in
courses for which the textbook has been adopted. Any other use without publisher's
consent is unlawful.
[ ( ) ( ) ( )] [ ( ) ( )]
( )
[ ( ) ] [ ( ) ]
( )
( ) ( )
( )
Solving for ( ),
( )
( )( ) ( )( )
By partial fractioning we have
( )( )
and
( )( )
Thus we get
( ) ( )
( )
( )
( ) ( )
Now, taking the inverse transform will give the solution to the new IVP:
{ ( )} { } { } { } { } { }
( )
{ }
( )
or
( )
( ) ( ) ( )
( ) ( ) ( )
This gives
( )
( )
( ) ( ) ( ) ( )
This gives
( )
( )
8-122C The solution of a system of linear initial-value problems by Laplace transform method
involves three basic steps:
a) Apply the Laplace transform to each of the differential equations resulting in a system of
algebraic equations in the transforms of the unknown functions.
b) Solve the linear system of algebraic equations to obtain explicit expressions for each
transform.
c) Determine the unknown functions by taking the inverse Laplace transform of each
transform.
In Problems 8-123 through 8-127, we are to solve the system of initial-value problems using the
Laplace transform method.
8-123 Given: ( ) ( ) ( )
( )
Solution: Taking the Laplace transform of both sides of the differential equations yields,
( )
( )( )
( )
( )( )
To compute the inverse transform, we first write ( ) and ( ) in the partial fraction form
( )
( )
( )
( ) ( )
( )
( )
( )
( ) ( )
{ ( )} { } { } { }
( ) ( )
( )
and
{ ( )} { } { } { }
( ) ( )
( )
( ) ( )
8-124 Given: ( ) ( )
( ) ( )
Solution: Taking the Laplace transform of both sides of the differential equations yields,
{ } { } { }
{ } { } { }
or
[ ( ) ( ) ( )] [ ( ) ( )]
[ ( ) ( ) ( )] ( )
( ) ( )
( ) ( )
( )
( )( ) ( )
( )
( )( ) ( )
To compute the inverse transform, we first write ( ) and ( ) in the partial fraction form
( )
( )
( )
√
√ √ √
( ) ( ) ( ) ( )
( )
( )
√ √ √
( ) ( ) ( ) ( )
{ ( )} { } { } { } { }
( )
√ √ √
( ) ( ) ( ) ( )
{ } { }
√ √
( )
√
and
{ ( )} { } { } { } { } { }
( )
√ √ √
( ) ( ) ( ) ( )
{ } { }
√ √
( )
√
√ √
( )
√
√ √
( )
√
Maple solution
> restart;
> with(inttrans);
8-125 Given: ( ) ( )
( ) ( )
Solution: Taking the Laplace transform of both sides of the differential equations yields,
{ } { } { } { }
{ } { } { }
or
[ ( ) ( ) ( )] ( ) [ ( ) ( )]
[ ( ) ( ) ( )] ( )
( ) ( ) ( )
( ) ( )
( )
( )( )( )
( )
( )( )( )
To compute the inverse transform, we first write ( ) and ( ) in the partial fraction form
( )
( )
√
( ) ( )
√ √ √
( ) ( ) ( ) ( )
( )
( )
√
( ) ( )
√ √ √
( ) ( ) ( ) ( )
{ ( )} { } { }
√
( ) ( )
{ }
√ √
( ) ( )
{ }
{ ( )} { } { } { }
√
( ) ( )
{ }
√ √
( ) ( )
{ }
√ √
( )
√
√ √
( )
√
√ √
( )
√
8-126 Given: ( )
( )
Solution: Taking the Laplace transform of both sides of the differential equations yields,
{ } { } { } { } { }
{ } { } { } { }
or
[ ( ) ( )] [ ( ) ( )] ( ) ( )
[ ( ) ( )] [ ( ) ( )] ( )
( ) ( ) ( )
( )
( )( )
To compute the inverse transform, we first write ( ) and ( ) in the partial fraction form
( )
( )
{ ( )} { } { } { }
and
{ ( )} { } { } { }
( )
( )
8-127 Given: ( )
( )
( )
Solution: Taking the Laplace transform of both sides of the differential equations yields,
{ } { } { } { }
{ } { } { } { }
{ } { } { } { }
or
[ ( ) ( )] ( ) ( )
[ ( ) ( )] [ ( ) ( )] ( )
[ ( ) ( )] ( ) ( )
( ) ( ) ( )
( ) ( ) ( )
( )
( )( )( )( )
( )
( )( )( )
( )
( )( )( )( )
To compute the inverse transform, we first write ( ) ( ) and Z( ) in the partial fraction form
( )
√ √ √
( ) ( ) ( ) ( )
( )
√ √ √
( ) ( ) ( ) ( )
( )
√ √ √
( ) ( ) ( ) ( )
{ } { }
√ √
( )
√
{ ( )} { } { }
√
( ) ( )
{ }
√
{ }
√ √
( ) ( )
{ }
√ √
( )
√
and
√
{ ( )} { }
√ √ √
( ) ( ) ( ) ( )
{ } { }
{ } { }
√ √
( )
√
√ √
( )
√
√ √
( )
√
√ √
( )
√
> restart;
> with(inttrans);
> ode1 := diff(x(t), t)+y(t)+z(t) = exp(-4*t);
> ode2 := diff(y(t), t)+diff(x(t), t)-x(t) = 0;
> ode3 := diff(z(t), t)-z(t)+y(t) = sin(t);
> ode1; ode2; ode3;
>
> XsYsZs := solve({Laplace1a, Laplace2a, Laplace3a}, {X, Y, Z});
>
> PartialFractionsXs := sort(convert(Xs, parfrac, s)); PartialFractionsYs := sort(convert(Ys, parfrac,
s)); PartialFractionsZs := sort(convert(Zs, parfrac, s));
( ) ( ) ( ) ( )
( ) ( ) ( )
( ) ( )
( ) ( )
In Problems 8-129 and 8-130, we are to determine ( ) ( ) and ( ) ( ) for the given set of
equations.
( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( )
( )
( )
( )
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( )
( )
( )
( )
In Problems 8-131 and 8-133, we are to determine for the given system.
( ) [( ) ]
( )
( ) ( )
( )
( )
⁄
( )
( ) [( ) ]
( )
( )
( )
( )
( ) [( ) ]
( )
( ) ( )
( )
( )
( )
( )
( )
( ) ( ) ( ) ( )
( )
( )
Then,
and
( ) ( )
( )( )
( ) ( )( )( )
which gives
( ) ( )
This is the transfer function matrix for the output , which is influenced by both inputs. The
two transfer functions are
( ) ( )
( ) ( )
8-135 Let the vector u be ( ). Then B is ( ). Assume the step inputs have different
magnitudes and denote the ( ) vector of the magnitudes by p. The solution is
( ) ( ) ( ) ∫ ( )
( ) ( ) ( ) ( )∫ ( )
and
∫ ( ) [ ( )] [ ( )]
( ) ( ) ( ) [ ( ) ]
( ) ( ) ( ) ∫ ( )
( ) ( ) ( ) ( )∫ ( )
( )
we obtain
∫ ( )
and thus
( ) ( ) ( ) ( )[ ]
Inserting the series expression for ( ) and multiplying the two series, we can show that
( ) ( ) ( ) [ ( ) ]
In MuPAD:
transform::invlaplace(1/(s*(3*s^2+21*s+30)),s,t)
1 1 1
5t
2t
45e 18e 30
In Maple,
>
>
b)
1
X (s)
s(5s 20s 65)
2
In MuPAD:
transform::invlaplace(1/(s*(5*s^2+20*s+65)),s,t)
2sin 3t
cos 3t
1 3
2t
65 65e
In Maple,
>
>
3s 2
X (s)
s(4s 32s 60)
2
In MuPAD:
transform::invlaplace((3*s+2)/(s*(4*s^2+32*s+60)),s,t)
7 13 1
3t
5t
24e 40e 30
In Maple,
>
>
d)
3s 2
X ( s)
s( s 10s 2 31s 30)
3
In MuPAD:
transform::invlaplace((3*s+2)/(s*(s^3+10*s^2+31*s+30)),s,t)
2 7 13 1
2t
3t 5t
3e 6e 30e 15
In Maple,
>
>
a)
1
X ( s)
3s 21s 30
2
In MuPAD:
transform::invlaplace(1/(3*s^2+21*s+30),s,t)
1 1
2t
5t
9e 9e
In Maple,
>
>
b)
1
X ( s)
5s 20s 65
2
In MuPAD:
transform::invlaplace(1/(5*s^2+20*s+65),s,t)
In Maple,
>
>
a)
5
X ( s)
s (3s 21s 30)
2 2
In MuPAD:
transform::invlaplace(1/(3*s^2+21*s+30),s,t)
1 1
2t
5t
9e 9e
In Maple,
>
>
b)
5
X ( s)
s (5s 20s 65)
2 2
In MuPAD:
transform::invlaplace(5/(s^2*(5*s^2+20*s+65)),s,t)
In Maple,
>
>
In MuPAD:
transform::invlaplace((15*s+10)/(s^2*(4*s^2+32*s+60)),s,t)
In Maple,
>
>
d)
15s 10
X ( s)
s ( s 10s 2 31s 30)
2 3
In MuPAD:
transform::invlaplace((15*s+10)/(s^2*(s^3+10*s^2+31*s+30)),s,t)
In Maple,
>
>
( ) ( ) ( ) ( )
Solve for ( ):
( ) ( )
( )
( ) ( )
In MuPAD:
transform::invlaplace(0.75*(1-exp(-5*s))/(s*(s+0.25)),s,t)
0.75heaviside t 5.0 4.0e1.250.25t 4.0 3.0
e0.25t
3.0
In Maple,
>
>
X ( s) 1
2
U ( s) 3s 21s 30
In MATLAB:
>> sys=tf(1,[3,21,30]);
>> step(sys)
X ( s) 1
2
U ( s) 5s 20s 65
In MATLAB:
>> sys=tf(1,[5,20,65]);
>> step(sys)
X (s) 3s 2
2
U ( s) 4s 32s 60
In MATLAB:
>> sys=tf([3,2],[4,32,60]);
>> step(sys)
X ( s) 3s 2
3
U ( s) s 10s 2 31s 30
In MATLAB:
>> sys=tf([3,2],[1,10,31,30]);
>> step(sys)
In MATLAB:
>> sys=tf(1,[3,21,30]);
>> impulse(sys)
X ( s) 1
2
( s) 5s 20s 65
In MATLAB:
>> sys=tf(1,[5,20,65]);
>> impulse(sys)
X ( s) 1
2
F ( s) 3s 21s 30
In MATLAB:
>> sys=tf(1,[3,21,30]);
>> t =[0:1.5/300:1.5];
>> f=5*t;
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
X ( s) 1
2
F ( s) 5s 20s 65
In MATLAB,
>> sys=tf(1,[5,20,65]);
>> t =[0:1.5/300:1.5];
>> f=5*t;
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
X (s) 3s 2
2
F ( s) 4s 32s 60
In MATLAB:
>> sys=tf([3,2],[4,32,60]);
>> t =[0:1.5/300:1.5];
>> f=5*t;
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
X ( s) 3s 2
3
F ( s) s 10s 2 31s 30
In MATLAB:
>> sys=tf([3,2],[1,10,31,30]);
>> t =[0:1.5/300:1.5];
>> f=5*t;
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
X ( s) 1
2
F ( s) 3s 21s 30
In MATLAB:
>> sys=tf(1,[3,21,30]);
>> t=[0:6/300:6];
>> f=6*cos(3*t);
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
X ( s) 1
2
F ( s) 5s 20s 65
In MATLAB:
>> sys=tf(1,[5,20,65]);
>> t=[0:6/300:6];
>> f=6*cos(3*t);
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
X (s) 3s 2
2
F ( s) 4s 32s 60
In MATLAB:
>> sys=tf([3,2],[4,32,60]);
>> t=[0:6/300:6];
>> f=6*cos(3*t);
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
X ( s) 3s 2
3
F ( s) s 10s 2 31s 30
In MATLAB:
>> sys=tf([3,2],[1,10,31,30]);
>> t=[0:6/300:6];
>> f=6*cos(3*t);
>> [x]=lsim(sys,f,t);
>> plot(t,x),xlabel('t'),ylabel('x')
( )
( )
( )
( )
The plot is shown in the following figure. The peak current is approximately 8 A. The more
accurate value of 8.06 A can be found with the step(sys2) function by right-clicking on the plot,
selecting characteristics, then peak response, and multiplying the answer by 10.
Review Problems
8-146
C 2C C
f (t ) tus (t ) (t D)us (t D) (t 2 D)us (t 2 D)
D D D
F ( s)
C
Ds 2
2C C C
2 e Ds 2 e2 Ds 2 1 2e Ds e2 Ds
Ds Ds Ds
8-147
C C
f (t ) tus (t ) (t D)us (t D) Cus (t D)
D D
8-148
M 2M Ts M 2Ts
F ( s) e e
s s s
8-149 Let
t 3 2t 5
f (t ) t
3 15
Then
1 2 16 s 4 2s 2 16
F ( s)
s2 s4 s6 s6
F ( s) s 4 2s 2 16
X ( s)
s 1 s 6 ( s 1)
or
16 16 18 18 19 19 19
X ( s)
s6 s5 s 4 s3 s 2 s s 1
Thus
2 5 2 4
x(t ) t t 3t 3 9t 2 19t 19 19et
15 3
On a plot of this and the solution obtained from the lower-order approximation, the two
solutions are practically indistinguishable.
( ) ( ) ( )
Or
( ) ( )
( )
( )
Note that this implies that ( ) , which is different from the given initial condition. This
discontinuity is caused by the impulse input.
( ) ( )
( )
Thus
( ) ( )
( ) ( )
then
( )
which is different from the given initial condition. This discontinuity is caused by the impulse
input.
( ) ( )
where ( ) represents the input voltage due to the switch and the 12-V supply. We could model
( ) as a rectangular pulse of height 12 V and duration 0.1 s, but the differential equation (1)
is easier to solve if we model ( )as an impulsive input of strength 12(0.1) = 1.2 V· s. This
model can be justified by the fact that the circuit time constant, L/R = 4/20 = 0.2, is greater
than the duration of ( ). Thus we model ( ) as ( ) = 1.2δ(t). The Laplace transform of
Equation (1) with i(0) = 0 gives
( ) ( )
or
( )
( )
Note that this solution gives i (0+) = 0.3, whereas i (0) = 0. The difference is due to the
impulsive input.
8-153 For a perfectly elastic collision, the velocity v3 of the mass m after the collision is given in
the problem statement:
Thus the linear impulse applied to the mass m during the collision is
∫ ( )
From Newton’s law of action and reaction, we see that the linear impulse applied to the 10m
mass is +20mv1/11, and thus its equation of motion is
̈ ( )
We can solve this equation for t > 0 using the initial conditions x(0) = 0 and ̇ ( ). The
Laplace transform gives
( ) ( )
( )
( ) ( )
Thus
( ) √ √
This gives ̇ ( ) .
8-154 Note that 4t 16 4(t 4) . Thus can write the input as
V ( s)
4 8 2 s 4 4 s 4
2
s s s s
2 e 2 e 2 1 2e2 s e4 s
Then
Y ( s)
V ( s)
2
4
s 5 s ( s 5)
1 2e2 s e4 s
and
4 1 1
y(t ) t e5t 1 2us (t 2) us (t 4)
5 5 5
Thus
4 1 1
y (t ) t e5t for 0 t 2
5 5 5
4 1 1 8 1 1
y(t ) t e5t t 2 e5(t 2) for 2 t 4
5 5 5 5 5 5
or
y(t )
84 4
t
25 5 25
4
1 2e10 e5t for 2 t 4
Finally
4
y(t )
84 4
t
25 5 25
4
5
1 1
1 2e10 e5t t 4 e5(t 4)
5 5
for t 4
or
y(t )
4
25
1 2e10 e20 e5t for t 4
8-155 Given
p(0) pa p0 pa 30 103
Thus
p0 30 103 Pa
Thus
The model is
since the pressure pa acts both on top of and on the bottom of the piston. This gives
72 Cs 10C C3
X ( s) 2 1 2 2
( s 100)( s 3.46) s 100 s 100 s 3.46
2
and
8-156
mx kx ky
m( z y) k ( z y) ky
mz kz my mbt
z n2 z bt
b C C C Cs
Z ( s) 21 2 2 n 3 2 2 4 2
s ( s n ) s
2 2 2
s s n s n
b b
z (t ) t sinnt
2
n n3
and
x z y bsinnt bt
8-157
mx kx ky
m( z y) k ( z y) ky
mz kz my
and
z n2 z y aebt
a C Cs C
Z ( s) 2 n 12 2 2 2 3
( s b)( s n ) s n s n s b
2 2
or
which gives
Finally
x
a
b n
2 2
bn sin nt n2 cosnt n2ebt
8-158
mx kx ky
t t v0 t 2
y(t ) v(t ) dt y(0) v(t )dt v0t
0 0 T 2
So
v0 t 2
mx kx ky kv0t k
T 2
b b 2 b Ts 1
(ms 2 k ) X ( s)
s 2T s3 T s3
2
b Ts 1 b C1 C2 C3 nC4 Cs
X ( s) 3 2 2 2 5 2
mT s ( s n ) mT s
3 2 2
s s s n s n
2
Thus
1 T
C1 C2
2
n n2
and
b t2
x(t ) C1 C2t C3 C4 sinnt C5 cosnt
mT 2
b t2 T 1 T 1
x(t ) 2 2 t 4 3 sinnt 4 cosnt
mT 2n n n n n
8-159 For 0 t T ,
x n2 x at b
bs a C C C Cs
X ( s) 21 2 2 3 n 2 2 4 2
s ( s n ) s
2 2 2
s s n s n
Thus
a b
C1 C2
2
n n2
a b
C3 C4
3
n n2
and
a b a b
x(t ) t sinnt cosnt
2
n 2
n
3
n n2
Thus
F0 F F F
x(t ) t 0 0 sinnt 0 cosnt
kT k kT n k
mx cx kx cy ky
H H
y(t ) t y
T T
Thus
H H
mx cx kx c k t
T T
Divide by m and use the standard definitions for and n (and note that 1 .
H H
x 2n x n2 x 2n n2 t
T T
Let
2n H
a
T
Then
n2 H n
a
T 2
Then
an
x 2n x n2 x a t
2
as 0.5an C1 C2 C3 C4
X ( s) 2
s ( s n )
2 2
s s ( s n ) 2
s n
Thus
a a
C1 C2 0 C3 C4 0
2n 2n
x(t )
2n
a
t 1 ent
8-161 Let ⁄ . Then the equation becomes
( )
( ) ( ) ( ) ( ) ( )
We are given that ( ) ( ) , and we do not know the values of ( ) and ( ). Denote
the latter by B and C. Thus
( )
( ) ( ) ( )
Thus, for ⁄
( )
For ⁄ ,
( ) ( )
and
( ) ( )
( ) ( )
( ) ( ) ( ) ( )
For ⁄ ,
( ) ( ) ( )
8-162 Let
( ) {
( ) ( ) ( )
( ) ( ) ( ) ( )( )
( )
( ) ( ) ( ) ( ) ( ) ( )
We are given that ( ) ( ) , and we do not know the values of ( ) and ( ). Denote
the latter by B and C. Thus
( ) ( )
or
( )
( )
For ⁄ ,
( ) ( )
( )
( )
( )
( )
These give , and thus for ⁄ , the solution has the form
( )
Thus we have four unknowns: B, C, , and . These can be found the continuity requirement
for ( ) and its derivatives at ⁄ . The resulting algebra can be simplified by defining new
variables z and w as