University of Florida/Egm4313/s12.team14.report2

From testwiki
Revision as of 16:21, 25 February 2018 by imported>MaintenanceBot (HTML5 cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Problem 1

Given

Find

Find the non-homogeneous L2-ODE-CC in standard form and the solution in terms of the initial conditions and the general excitation r(x)

Consider no excitation:


r(x)=0

(Eq.2)

Plot the solution.

Solution

Characteristic equation:

(λλ1)(λλ2)=0

(Eq.3)


Substituting (Eq.1a) into (Eq.3):

(λ+2)(λ5)=0

(Eq.4)


λ23λ10=0

(Eq.5)


Non-homogeneous solution:

y3y10y=0

(Eq.6)


Homogeneous solution:

yh(x)=C1e2x+C2e5x

(Eq.7)


Overall solution:

y(x)=C1e2x+C2e5x+yp(x)

(Eq.8)


No excitation:


r(x)=0=>yp(x)=0

(Eq.9)


From intitial conditions:

y(0)=1=C1+C2

(Eq.10)


y(0)=0=2C1+5C2

(Eq.11)


Solving for C1 and C2:

C1=57

and

C2=27


So, the final solution is:

y(x)=57e2x+27e5x


File:Team14R22diagram1.png

Problem 2

Given

Find

Find and plot the solution for (Eq.1)

Solution

Due to no excitation, (Eq.1) becomes:

y10y+25y=0

(Eq.4)

Substituting λ into (Eq.4):

λ210λ+25=0

(Eq.5)

Factoring, and solving for λ:

(λ5)2=0

(Eq.6)


λ2=λ1=λ=5

Since λ is a double root, the general solution:

y=C1e5x+C2xe5x

(Eq.7)

From intitial conditions:

y(0)=1=C1

(Eq.8)


y(0)=0=5C1+C2

(Eq.9)


Solving for C1 and C2:

C1=1

and

C2=5


So, the final solution is:

y(x)=e5xe5x


File:Team14R22diagram2.png

Problem 3

Given

(a)

y+6y+8.96y=0

(b)

y+4y+(π2+4)y=0

Find

General solution to the differential equation

Solution

(a)

Characteristic equation:

λ2+6λ+8.96=0

Using the quadratic equation:

x=b±b24ac2a

where:

a=1,b=6,c=8.96

Place values into quadratic equation:

x=6±624*1*8.962*1
x=6±3635.842
x=6±0.42
x=6.42,5.62
x=3.2,2.8
y=c1e3.2x+c2e2.8x

(b)

Characteristic equation:

λ2+4λ+(π2+4)=0

Using the quadratic equation:

λ=b±b24ac2a

where:

a=1,b=4,c=(π2+4)

Place values into quadratic equation:

λ=4±424*1*(π2+4)2*1
λ=4±164π216)2
λ=4±2πi2
λ=2±πi
y=e2x(C1cosπx+C2sinπx)

Problem 4

Given

(5)

y'+2πy+π2y=0

(Eq.1)


(6)

10y32y+25.6y=0

(Eq.2)

h

Find

For both (5) and (6), find a general solution. Then, check answers by substitution.

Solution

(5)

To obtain the general solution for (Eq. 1), we let

y=eλx

This yields:

eλx(λ2+2πλ+π2)=0

Therefore, we have:

λ2+2πλ+π2=0

Where λ is a solution to the characteristic equation

λ2+aλ+b=0

We can see that

a=2π and
b=π2.

Next, we must examine the quadratic formula to determine whether the system is over-, under-, or critically-damped. The discriminant is:

=a24b
=(2π2)24(π2)
=0
Therefore, the equation is critically-damped.

The general solution is therefore represented by:

y=c1eλ1x+c2xeλ2x

Where λ1=λ2=λ.

We can determine the value of λ by again using the quadratic equation, this time in full:

λ=12(a+a24b)

for which we find that λ=π.

Therefore, the general solution to the equation is:

y=c1eπx+c2xeπx

Verification by substitution:

y'=πc1eπx+c2eπxπc2xeπx
y'=π2c1eπxπc2eπx+π2c2xeπxπc2eπx

Plugging into Eq. 1 and combining terms, it is found:

c1eπx(π22π2+π2)+c2eπx(ππ+2π)+c2xeπx(π22π2+π2)=0

All the terms cancel, so the statement is true, and the solution is verified.


(6)

To obtain the general solution for (Eq. 2), let

y=eλx

So then, we have

10λ232λ+25.6=0

as a solution to the characteristic equation. All terms must be divided by 10, to put the equation in standard form:

λ23.2λ+2.56=0

Examining the discriminant, we find that

=a24b=(3.2)24(2.56)=0
Therefore, the equation is critically-damped.

The general solution is represented by:

y=c1eλ1x+c2xeλ2x

and λ1=λ2=λ.

To determine the value of λ, we set:

λ=12(a+a24b)

for which we find that λ=1.6.

Therefore, the general solution to the equation is:

y=c1e1.6x+c2xe1.6x

Verification by substitution:

y'=1.6c1e1.6x+c2e1.6x+1.6c2xe1.6x
y'=(1.62)c1e1.6x+3.2c2e1.6x+(1.62)c2xe1.6x

Plugging into Eq. 1 and combining terms, it is found:

c1e1.6x(0)+c2e1.6x(0)+c2xe1.6x(0)=0

All the terms cancel, so the statement is true, and the solution is verified.

Problem 5

Given

y'+ay+by=0


Given the basis:

(a)

e2.6x,e4.3x


(b)

e5x,xe5x


Find

For the given Information above, Find an ODE for both (a) and (b)

Solution

(a)The general solution can be written as:

y=C1e2.6x+C2e4.3x


The characteristic equation can be written in the following way:

(λ2.6)(λ+4.3)=λ2+1.7λ11.18=0


Giving the ODE:
y'+1.7y11.18y=0



(b) The general solution can be written as:

y=C1e5x+C2xe5x


The characteristic equation can be written in the following way:

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


Giving the ODE:
y'+25y+5y=0


Problem 6

Given

alt text
Mass Spring Dashpot system FBD's

Spring-dashpot equation of motion from sec 1-5

myk+mkcyk+kyk=f(t)


Find

Spring-dashpot-mass system in series. Find the values for the parameters k,c,m with a double real root of λ=3

Solution

Consider the double real root

λ=3

Characteristic equation is

(λ+3)2=λ2+6λ+9=0

(Eq.1)

Recall

myk+mkcyk+kyk=f(t)

(Eq.2)

Thus

m=1
mkc=6
k=9

Solve for c

c=96=32

Therefore

c=32andk=9andm=1

Problem 7

Given

Taylor Series at t=0

Find

Develop the MacLaurin Series for et,cost,sint

Solution

Taylor series is defined as

n=0f(n)(t)n!(xt)n

(Eq.1)

The MacLaurin series occurs when t=0

n=0f(n)(0)n!(x)n

(Eq.2)

Development of MacLaurin series for et

et=10!+11!t+12!t2+13!t3...

(Eq.3)

Final Answer

et=1+x+12t2+16t3...

Explicit form can be written as
et=n=01n!(t)n


Development of MacLaurin series for cos(t)

cos(t)=10!+01!t12!t2+03!t3+14!t4...

(Eq.4)

Final Answer

cos(t)=112t2+124t4...

Explicit form can be written as
cos(t)=n=012n!(t)2n


Development of MacLaurin series for sin(t)

sin(t)=00!+11!t02!t213!t3+04!t4+15!t5...

(Eq.5)

Final Answer

sin(t)=1t16t3+1120t5...

Explicit form can be written as
sin(t)=n=01(2n+1)!(t)(2n+1)

Problem 8

Given

(8)

y'+y+3.25y=0

(Eq.1a)



(15)

y'+(0.54)y+(0.0729+π)y=0

(Eq.1b)

Find

Solution

(8)

Assume that the solution is of the form

yh=eλx

(Eq.2)


y'h=λeλx

(Eq.3)


And

y'h=λ2eλx

(Eq.4)



Substituting equations 2, 3, and 4 into equation 1a yields

λ2eλx+λeλx+3.25eλx=0
eλx(λ2+λ+3.25)=0
Since
eλx0
(λ2+4λ+3.25)=0

We must use the quadratic formula to obtain values for lambda
λ=b±b24ac2a
λ=1±(1)24(1)(3.25)2(1)
λ=1±113)2
λ=1±122
λ=0.5±j3
Where j=1

yh=C1e(0.5+j3)x+C2e(0.5j3)x

In order to verify solution, we must evaluate it's first and second derivative, then plug them into the equation
Let a=0.5,b=3
yh=C1e(a+jb)x+C2e(ajb)x
yh=C1eaxejbx+C2eaxejbx
yh'=C1[eax(jbejbx)+ejbx(aeax)]+C2[eax(jbejbx)+ejbx(aeax)]
yh'=C1[eax((jb)2ejbx)+(jbejbx)(aeax)+ejbx((a)2eax)+(aeax)(jbejbx)]+C2[eax((jb)2ejbx)+(jbejbx)(aeax)+ejbx((a)2eax)+(aeax)(jbejbx)]

Plugging yh,yh,yh into Eq. 1 and collecting terms gives
0=C1eaxejbx[b2+jab+a2+jab+jb+a+3.25]+C2eaxejbx[b2jab+a2jabjb+a+3.25]
0=C1e0.5xej3x[3j3/2+1/4j3/2+j31/2+3.25]+C2e0.5xej3x[3+j3/2+1/4+j3/2j31/2+3.25]
0=C1e0.5xej3x(0)+C2e0.5xej3x(0)

Therefore the solution holds for any values of C1,C2,x




(15)

Assume that the solution is of the form

yh=eλx

(Eq.2)


y'h=λeλx

(Eq.3)


And

y'h=λ2eλx

(Eq.4)



Substituting equations 2, 3, and 4 into equation 1b yields

λ2eλx+(0.54)λeλx+(0.0729+π)eλx=0
eλx(λ2+(0.54)λ+(0.0729+π))=0
Since
eλx0
(λ2+(0.54)λ+(0.0729+π))=0

We must use the quadratic formula to obtain values for lambda
λ=b±b24ac2a
λ=(0.54)±(0.54)24(1)(0.0729+π)2(1)
λ=0.54±j3.5452
λ=0.27±j(1.772)
Where j=1

yh=C1e(0.27+j(1.772))x+C2e(0.27j(1.772))x

In order to verify solution, we must evaluate it's first and second derivative, then plug them into the equation
Let a=0.27,b=1.772
yh=C1e(a+jb)x+C2e(ajb)x
yh=C1eaxejbx+C2eaxejbx
yh'=C1[eax(jbejbx)+ejbx(aeax)]+C2[eax(jbejbx)+ejbx(aeax)]
yh'=C1[eax((jb)2ejbx)+(jbejbx)(aeax)+ejbx((a)2eax)+(aeax)(jbejbx)]+C2[eax((jb)2ejbx)+(jbejbx)(aeax)+ejbx((a)2eax)+(aeax)(jbejbx)]

Plugging yh,yh,yh into Eq. 1 and collecting terms gives
0=C1eaxejbx[b2+jab+a2+jab+(0.54)(jb+a)+0.0729+π]+C2eaxejbx[b2jab+a2jab+(0.54)(jb+a)+0.0729+π]
0=C1e0.27xej1.772x[(1.772)2+j(0.27)(1.772)+(0.27)2+j(0.27)(1.772)+(0.54)(j(1.772)0.27)+0.0729+π]+C2e0.27xej1.772x[(1.772)2j(0.27)(1.772)+(0.27)2j(0.27)(1.772)+(0.54)(j(1.772)0.27)+0.0729+π]
0=C1e0.27xej1.772x(0)+C2e0.27xej1.772x(0)

Therefore the solution holds for any values of C1,C2,x

Problem 9

Given

Find

Solution

Problem 10

Given

Differential equation, initial conditions, and forcing function as shown:

y10y+25y=r(x),

(Eq.1)

y(0)=4,y(0)=5,r(x)=7e(5x)2x2.

(Eq.1)



Find

Find

The solution to Eq. 1

Solution

yp=C1x2e5x+C2x2+C3x+C4

(Eq.2)

yp=5C1x2e5x+2C1xe5x+2C2x+C3

(Eq.3)

yp=25C1x2e5x+20C1xe5x+2C1e5x+2C2

(Eq.4)

Substituting Equations 2, 3, and 4 into Equation 1 yields

7e5x2x2=2C1e5x+25C2x2+25C3x20C2x+2C210C3+25C4

(Eq.5)

To solve for the constants:

7=2C1

(Eq.6)

2=25C2

(Eq.7)

0=25C320C2

(Eq.8)

0=2C210C3+25C4

(Eq.9)

Solving Equations 6-9 yields

C1=72,C2=225,C3=8125,C4=12625

The homogeneous solution:

yh=C5e5x+C6xe5x

(Eq.10)

The total solution:

y=C5e5x+C6xe5x+272x2e5x225x28125x12625

(Eq.11)

Setting x=0 yields

y(0)=C512625=4

(Eq.12)

Solving for C5 yields

C5=2512625

(Eq.13)

Finding y yields

y=352x2e5x+5C6xe5x+7xe5x+2512125e5x+C6e5x425x28125

(Eq.14)

Setting x=0 yields

y(0)=2512125+C68125=5

(Eq.15)

Solving for C6 yields

C6=3129125

(Eq.16)

Therefore, the total solution is

y=2512625e5x3129125xe5x+272x2e5x225x28125x12625

(ANSEq.17)


Team Member Tasks

Name Responsibilities Checked by
Bo Turano Problem R2. --
David Parsons Problem R2.4 --
Dean Pickett Problem R2.8 --
Giacomo Savardi Problem R2. --
Isaac Kimiagarov Problem R2.3 --
Kyle Steiner Problem R2. --
Tony Han Problem R2.6, R2.7 --

All team members contributed to the coding of this page.

Template:CourseCat