Q44E

Question

A mass-spring system is driven by an external force g(t)=2sin3t+10cos3t . The mass equals 1, the spring constant equals 5, and the damping coefficient equals 2. If the mass is initially located at  y(0)=-1 , with an initial velocity  y'(0)=5 , find its equation of motion.

Step-by-Step Solution

Verified
Answer

The equation of the motion is y=e-tsin(2t)+sin(3t)-cos(3t).

1Step 1: Use the given information for writing the differential equation.

Given that, 

 

The mass equals m = 1, 

 

The spring constant equals c =5, 

 

And the damping coefficient equals b =2.

 

The differential equation is,

 my''+by'+cy=g(t)y''+2y'+5y=2sin3t+10cos3t                                     ......(1)

 

 

Write the homogeneous differential equation of the equation (1),

y''+2y'+5y=0

2Step 2: Find the complementary solution of the given equation.

The auxiliary equation for the above equation,

 

 m2+2m+5=0

 

Solve the auxiliary equation,

m2+2m+5=0m=-2±4-202m=-2±-162m=-1±2i


The roots of the auxiliary equation are, 

m1=-1+2i,      m2=-1-2i


The complementary solution of the given equation is,

 yc=c1e-tcos(2t)+c2e-tsin(2t) 

3Step 3: Find the particular solution to find a general solution for the equation.

Assume, the particular solution of equation (1),

 

 yp(t)=Asin(3t)+Bcos(3t)                               ......(2)

 

Now find the first and second derivatives of the above equation,

 

 yp'(t)=3Acos(3t)-3Bsin(3t)yp''(t)=-9Asin(3t)-9Bcos(3t)

 

Substitute the value of  yp(t),  yp'(t)  and  yp''(t)  in the equation (1),

y''+2y'+5y=2sin3t+10cos3t-9Asin(3t)-9Bcos(3t)+2[3Acos(3t)-3Bsin(3t)]+5[Asin(3t)+Bcos(3t)]=2sin3t+10cos3t(-4A-6B)sin(3t)+(-4B+6A)cos(3t)=2sin3t+10cos3t


Comparing all coefficients of the above equation,

-4A-6B=2                                                        .......(3)-4B+6A=10                                                     ......(4)


Solve the above equations,

3(-4A-6B)=2×32(-4B+6A)=10×2


-12A-18B=6        12A-8B=20               -26B=26                                B=-1¯


Substitute the value of B in the equation (3),

 -4A-6(-1)=2A=1


Substitute the value of A and B in the equation (2),


yp(t)=Asin(3t)+Bcos(3t)yp(t)=sin(3t)-cos(3t)



Therefore, the particular solution of equation (1),

yp(t)=sin(3t)-cos(3t)

4Step 4: Find the general solution and use the given initial condition.

Therefore, the general solution is,

y=yc(t)+yp(t)y=c1e-tcos(2t)+c2e-tsin(2t)+sin(3t)-cos(3t)                     .           .....(5) 

 

 

Given the initial condition,

 

 y(0)=-1,  y'(0)=5

 

Substitute the value of y = -1 and t = 0 in the equation (3),

 y=c1e-tcos(2t)+c2e-tsin(2t)+sin(3t)-cos(3t)-1=c1e-(0)cos(2(0))+c2e-(0)sin(2(0))+sin(3(0))-cos(3(0))-1=c1-1c1=0

 

 

Now find the derivative of the above equation,

 

 y'=c1[-2e-tsin(2t)-e-tcos(2t)]+c2[2e-tcos(2t)-e-tsin(2t)]+3cos(3t)+3sin(3t)

 

Substitute the value of y’ = 5 and t = 0 in the above equation,


y'=c1[-2e-tsin(2t)-e-tcos(2t)]+c2[2e-tcos(2t)-e-tsin(2t)]+3cos(3t)+3sin(3t)5=c1[-2e-(0)sin(2(0))-e-(0)cos(2(0))]+c2[2e-(0)cos(2(0))-e-(0)sin(2(0))]         +3cos(3(0))+3sin(3(0))5=c1[-1]+c2[2]+3-c1+2c2=2                                                                                                             .......(6)



Substitute the value of  c1  in the equation (6),


-c1+2c2=20+2c2=2c2=1


Substitute the value of  c1 and c2  in the equation (5),

y=c1e-tcos(2t)+c2e-tsin(2t)+sin(3t)-cos(3t)y=(0)e-tcos(2t)+(1)e-tsin(2t)+sin(3t)-cos(3t)y=e-tsin(2t)+sin(3t)-cos(3t)



Thus, the equation of motion is:

y=e-tsin(2t)+sin(3t)-cos(3t)