forcedoscillations.mws

>

Forced Oscillations

Section 3.8 in Greenberg

10/2/2000

Richard Hitt

Introduction

State the purpose of the worksheet.

Getting started

Every Maple worksheet should begin by re-initializing the Maple "kernel" and loading the additional packages that we are most likely to use.

> restart;

> with( plots ):

> with( DEtools ):

Warning, the name changecoords has been redefined

Undamped Case

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 );

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

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

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

> VAR := { y(t) };

VAR := {y(t)}

>

> sol1:=dsolve( { MODEL, IC }, VAR );

sol := y(t) = cos(sqrt(2)*t)+3/2*omega*sqrt(2)*sin(...

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 2*Pi/sqrt(2) . The following plots provides an animated view of the solutions as omega increases towards sqrt(2) .

> Omega := [ 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.1,1.2,1.25,1.3,1.35, 1.4 ]:

> P := seq( plot( eval( rhs(sol1), omega=w ), t=0..100 ), w=Omega ):

> display( P, insequence=true );

[Maple Plot]

What do you notice about the amplitude of the solutions? What would happen if omega = sqrt(2) ?

>

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

sol2 := y(t) = 3/4*sin(sqrt(2)*t)-3/4*cos(sqrt(2)*t...

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.

> plot(rhs(sol2),t=0..50);

[Maple Plot]

>

Damped Case