>
BDH5-2.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 );
> IC := y(0)=1, D(y)(0)=0;
> VAR := { y(t) };
>
> dsolve( { MODEL, IC }, VAR );
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(%) );
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) } );
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 . The following plots provides an animated view of the solutions as increases towards .
> Omega := [ 0, 0.2, 0.4, 0.6, 0.8, 1.0, 1.1, 1.2, 1.3, 1.4 ]:
> P := seq( plot( subs( omega=w, SOLN ), t=0..150 ), w=Omega ):
> display( P, insequence=true );
What do you notice about the amplitude of the solutions? What would happen if ?
>
> dsolve( subs( omega=sqrt(2), { MODEL, IC } ), VAR );
Notice that this solution is significantly different from the general solution when omega is not sqrt(2). The particular solution has an amplitude that grows linearly with time - this is RESONANCE.
>