>

BDH4-3.mws

> restart;

> with( DEtools ):

> with( plots ):

>

In this worksheet we examine the solution to an initial value problem with periodic forcing function with different forcing frequencies. Of particular interest is the behavior of the solution as the forcing frequency approaches the natural frequency of the equation, i.e. , when resonance occurs..

> MODEL := diff( y(t), t$2 ) + 2 * y(t) = 3*sin( omega*t );

[Maple Math]

> IC := y(0)=1, D(y)(0)=0;

[Maple Math]

> VAR := { y(t) };

[Maple Math]

>

> dsolve( { MODEL, IC }, VAR );

[Maple Math]

What a mess! Maple uses different methods to obtain it's solution. In an attempt to put this expression in a more familiar form, try:

> combine( rhs(%) );

[Maple Math]

That's better. It would be even nicer if the two cosine terms were simplified.

> SOLN := collect( %, { cos( sqrt(2)*t ), sin( sqrt(2)*t) } );

[Maple Math]

Note that this solution contains two terms which appear in the homogeneous solution and one term that is a particular solution to the nonhomogeneous equation.

>

The natural frequency is [Maple Math] . The following plots provides an animated view of the solutions as [Maple Math] increases towards [Maple Math] .

> Omega := [ 0, 0.2, 0.4, 0.6, 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.8, 2.0 ]:

> P := seq( plot( eval( SOLN, omega=w ), t=0..150 ), w=Omega ):

> display( P, insequence=true );

[Maple Plot]

What do you notice about the amplitude of the solutions? What would happen if [Maple Math] ?

>

> dsolve( eval( { MODEL, IC }, omega=sqrt(2) ), VAR );

[Maple Math]

Notice that this solution is significantly different from the general solution when [Maple Math] is not [Maple Math] . The particular solution has an amplitude that grows linearly with time - this is RESONANCE.

> plot( rhs(%), t=0..150 );

[Maple Plot]

>