4.3 and 4.4: Forcing and Resonance
November 13, 1998
The undamped osillator forced at resonant frequency
The solutions here are linear combinations of the real and imaginary parts of the general solution to
,
that is,
.
For example, with initial conditions
and
at
, we get
| > | ivalues := solve({subs(t=0,t*exp(I*omega[0]*t)/(2*I*omega[0])+k[1]*exp(I*omega[0]*t)+k[2]*exp(-I*omega[0]*t))=0,subs(t=0,diff(t*exp(I*omega[0]*t)/(2*I*omega[0])+k[1]*exp(I*omega[0]*t)+k[2]*exp(-I*omega[0]*t),t))=0},{k[1],k[2]}); |
and the solution is
| > | ycomplex:=subs(ivalues,t*exp(I*omega[0]*t)/(2*I*omega[0])+k[1]*exp(I*omega[0]*t)+k[2]*exp(-I*omega[0]*t)); |
We get two real solutions by taking real and imaginary parts. The real part corresponds to
forcing, the imaginary part to
forcing.
| > | yreal := evalc(Re(ycomplex)); |
| > | yimaginary := evalc(Im(ycomplex)); |
Here is a picture of the two functions.
| > | plot([subs(omega[0]=1,yreal),subs(omega[0]=1,yimaginary)],
t=0..10*Pi,color=[red,blue]); |
![[Plot]](mth3060404m9_images/mth3060404m9_12.gif)
Amplitude and Phase Angle
Amplitude
| > | A := 1/sqrt((q-omega^2)^2+p^2*omega^2); |
Here's a picture of the graph of
when
.
| > | plot3d(subs(omega=1,A),q=0..2,p=0..1,axes=boxed,view=[0..2,0..1,0..10]); |
![[Plot]](mth3060404m9_images/mth3060404m9_16.gif)
Here's a picture of how
varies when
.
| > | plot3d(subs(p=1,A),q=0..2,omega=0..2,axes=boxed,view=[0..2,0..2,0..2]); |
![[Plot]](mth3060404m9_images/mth3060404m9_19.gif)
And when
.
| > | plot3d(subs(q=1,A),p=0..2,omega=0..2,axes=boxed,view=[0..2,0..2,0..5]); |
![[Plot]](mth3060404m9_images/mth3060404m9_21.gif)
Phase Angle
| > | phi := arctan(-p*omega,(q-omega^2)); |
Fixed
:
| > | plot3d(subs(omega=1,phi),p=0..1,q=0..2,axes=boxed,view=-Pi..0,
orientation=[45,-45]); |
![[Plot]](mth3060404m9_images/mth3060404m9_24.gif)
Fixed
:
| > | plot3d(subs(q=1,phi),p=0..1,omega=0..2,axes=boxed,view=-Pi..0); |
![[Plot]](mth3060404m9_images/mth3060404m9_26.gif)
Fixed
:
| > | plot3d(subs(p=1,phi),omega=0..2,q=0..4,axes=boxed,view=-Pi..0); |
![[Plot]](mth3060404m9_images/mth3060404m9_28.gif)