University of Florida/Egm4313/s12.team11.imponenti/R2.9

From testwiki
Jump to navigation Jump to search

Report 2, Problem 9

Problem Statement

Find and plot the solution for the L2-ODE-CC corresponding to

λ2+4λ+13

with r(x)=0

and initial conditions y(0)=1, y(0)=0

In another figure, superimpose 3 figs.:(a)this fig. (b) the fig. in R2.6 p.5-6, and (c) the fig. in R2.1 p.3-7

Quadratic Equation

λ=b±(b24ac)2a with a=1,b=4,c=13

λ=4±(424*1*13)2*1=2±3i

λ=2±3i

Homogeneous Solution

The solution to a L2-ODE-CC with two complex roots is given by

y(x)=ea2x[Acos(ωx)+Bsin(ωx)]

where λ=a2±ωi=2±3i

y(x)=e2x[Acos(3x)+Bsin(3x)]

Solving for A and B

first initial condition y(0)=1

y(x)=e2x[Acos(3x)+Bsin(3x)]

y(0)=e2*0[Acos(3*0)+Bsin(3*0)]=1

A=1

second initial condition y(0)=0

y(x)=ddxy(x)=ddxe2x[cos(3x)+Bsin(3x)]

y(x)=e2x[(2B3)sin(3x)+(3B2)cos(3x)]

y(0)=e2*0[(2B3)sin(3*0)+(3B2)cos(3*0)]

0=3B2

B=23

so the solution to our L2-ODE-CC is

                      y(x)=e2x[cos(3x)+23sin(3x)]

Solution to R2.6

After solving for the constants kc and km we have the following homogeneous equation

y(x)+6y(x)+9y=0

Characteristic Equation and Roots

λ2+6λ+9=0

(λ+3)(λ+3)=0

We have a real double root λ=3

Homogeneous Solution

We know the homogeneous solution to a L2-ODE-CC with a double real root to be

y(x)=c1eλx+c2xeλx

Assuming object starts from rest

y(0)=1, y(0)=0

Plugging in λ and applying our first initial condition

y(0)=c1e3*0+c2*0*e3*0=1

c1=1

Taking the derivative and applying our second condition

y(x)=ddxy(x)=ddxe3x+c2xe3x

y(x)=3e3x+c2e3x3c2xe3x

y(0)=3e3*0+c2e3*03c2*0*e3*0=0

c2=3

Giving us the final solution

                 y(x)=e3x+3xe3x

Plots

Solution to this Equation

y(x)=e2x[cos(3x)+23sin(3x)]

File:Plotr2 9.jpg

Superimposed Graph

Our solution: y(x)=e2x[cos(3x)+23sin(3x)] shown in blue

Equation for fig. in R2.1 p.3-7: y(x)=54e2x14e5x shown in red

Equation for fig. in R2.6 p.5-6:y(x)=e3x+3xe3x shown in green

File:R2superposed.jpg

Egm4313.s12.team11.imponenti 03:38, 8 February 2012 (UTC)

Template:CourseCat