Dr. K. G. TeBeest
Do and study the following examples in Maple. These are important in Chapter 5 when we study vibrating systems such as the spring-mass apparatus and electronic circuits. Type these verbatim into a Maple session. Do NOT merely copy and paste them into a Maple session.
- Examples of simple harmonic motion (constant amplitude oscillation):
- x := t –> 6 * cos(4*t) ;
plot ( x(t), t = 0.0 .. 2*Pi, thickness=4, color="Blue" ) ;
the symbol –> is the minus sign followed immediately by a greater than symbol (no space between them)
- x := t –> 6 * sin(4*t) ;
plot ( x(t), t = 0.0 .. 2*Pi, thickness=4, color="Red" ) ;
- x := t –> 3 * cos(2*t) – 4 * sin(2*t) ;
plot ( x(t), t = 0.0 .. 3*Pi ) ;
- Example of underdamped motion (decaying oscillation):
- x := t –> exp(–t) * ( 3 * cos(2*t) – 4 * sin(2*t) ) ;
plot ( x(t), t = 0.0 .. 2*Pi, thickness=4, color="Green" ) ;
- Examples of critically damped motion:
- x := t –> exp(–t/2) * ( 4 – 5*t ) ;
plot ( x(t), t = 0.0 .. 20.0, thickness=4, color="Magenta" ) ;
- x := t –> exp(–t/2) * ( 4 + 5*t ) ;
plot ( x(t), t = 0.0 .. 20.0, thickness=4, color="Purple" ) ;
- Example of overdamped motion:
- x := t –> 6*exp(–t) – 5*exp(–2*t) ) ;
plot ( x(t), t = 0.0 .. 6.0, thickness=4, color="Cyan" ) ;
- Examples of undamped motion (mixed modes):
- x := t –> cos(t) – cos(2*t) ) ;
plot ( x(t), t = 0.0 .. 4*Pi, thickness=4, color="Blue" ) ;
- x := t –> cos(t) – 3*cos(2*t) ) ;
plot ( x(t), t = 0.0 .. 4*Pi, thickness=4, color="Navy" ) ;
- Examples of pure resonance (unbounded oscillation):
- x := t –> t*cos(t) ;
plot ( x(t), t = 0.0 .. 6*Pi, thickness=4, color="Red" ) ;
- x := t –> t*cos(2*t) ;
plot ( x(t), t = 0.0 .. 6*Pi, thickness=4, color="Green" ) ;
- x := t –> 3*sin(2*t) + t*cos(2*t) ;
plot ( x(t), t = 0.0 .. 6*Pi, thickness=4, color="Blue" ) ;