University of Florida/Egm4313/s12.team11.imponenti/R3.1

From testwiki
Jump to navigation Jump to search

Report 3, Problem 1

Problem Statement

Find the solution to the following L2-ODE-CC: y10y+25y=r(x)

With the following excitation: r(x)=7e5x2x2

And the following initial conditions: y(0)=4,y(0)=5

Plot this solution and the solution in the example on p.7-3

Homogeneous Solution

To find the homogeneous solution we need to find the roots of our equation

λ210λ+25=0 (λ5)(λ5)=0 λ=5

We know the homogeneous solution for the case of a real double root with λ=5 to be

yh=c1e5x+c2xe5x

Particular Solution

For the given excitation we must use the Sum Rule to the particular solution as follows

yp=yp1+yp2 where yp1 and yp2 are the solutions to r1(x)=7e5x and r2(x)=2x2, respectively

First Particular Solution

r1(x)=7e5x,

from table 2.1, K 2011, pg. 82 we have

yp1=Ce5x

but this corresponds to one of our homogeneous solutions so we must use the modification rule to get

yp1=Cx2e5x

Plugging this into the original L2-ODE-CC then substituting;

yp110yp1+25yp1=r1(x)

(Cx2e5x)10(Cx2e5x)+25(Cx2e5x)=r1(x)

25Cx2e5x+10Cxe5x+10Cxe5x+2Ce5x10(5Cx2e5x+2Cxe5x)+25Cx2e5x=7e5x

e5x[25Cx2+10Cx+10Cx+2C50Cx220Cx+25Cx2]=7e5x

e5x2C=7e5x

so C=72 and the first particular solution is,

yp1=72x2e5x

Second Particular Solution

r2(x)=2x2,

from table 2.1, K 2011, pg. 82 we have

yp2=a2x2+a1x+a0

Plugging this into the original L2-ODE-CC then substituting;

yp210yp2+25yp2=r2(x)

(a2x2+a1x+a0)10(a2x2+a1x+a0)+25(a2x2+a1x+a0)=2x2

2a210(2a2x+a1)+25(a2x2+a1x+a0)=2x2

grouping like terms we get three equations to solve for the three unknowns, these are written in matrix form

25a2x2+(25a120a2)x+(25a010a1+2a2)=2x2


[21025202502500][a2a1a0]=[002]


solving by back subsitution leads to a2=225,a1=8125,a0=4125

so the second particular solution is,

yp2=225x2+8125x+4125

General Solution

The general solution is the summation of the homogeneous and particular solutions

y=yh+yp1+yp2

y=c1e5x+c2xe5x+72x2e5x225x2+8125x+4125

y=e5x(c1+c2x+72x2)225x2+8125x+4125

Applying the first initial condition y(0)=4

y(0)=c1+4125=4

c1=496125

Second initial condition y(0)=5

y=ddxy=e5x[5(c1+c2x+72x2)+c2+7x]425x+8125

y=e5x[352x2+(5c2+7)x+5c1+c2]425x+8125

y(0)=5c1+c2+8125=5

c2=3113125

The general solution to the differential equation is therefore

                    y(x)=e5x(4961253113125x+72x2)225x2+8125x+4125

Plot

Below is a plot of this solution and the solution to in the example on p.7-3

our solution y(x)=e5x(4961253113125x+72x2)225x2+8125x+4125 (shown in red)

example on p.7-3 y(x)=e5x(425*x+*72x2) (shown in blue)

File:Plot3 1.jpg

Egm4313.s12.team11.imponenti 22:31, 20 February 2012 (UTC)

Template:CourseCat