General linear oscillator and phasors

Let us consider a linear oscillator:
x'' + 2 γ x' + ω2 x = f cos(Ω t + α),
with ω > γ ≥ 0 (we are using ' for time derivatives). The main window displays the phasor z = x + i y solution of the complexified equation
z'' + 2 γ z' + ω2 z = f ei(Ω t + α),
as well as the elongation, i.e., the real part x = Re z. Optionally, one can display the velocity, acceleration and force phasors, as well as their real parts and the evolution x(t), x'(t), x''(t) and f cos(Ω t + α).


Activities

  1. With the default settings you can see that with the harmonic oscillator (γ = f = 0) the elongation phasor rotates with the constant angular velocity ω.
  2. Check Graph to see the familiar x(t) curve, which repeats with period 2π/ω.
  3. Enable Velocity to see the velocity phasor and its evolution. Which is the angle between both phasors?
  4. Enable Acceleration to see the corresponding phasor. Which is the angle between elongation and acceleration phasors?



This is an English translation of the Basque original for a course on mechanics, oscillations and waves.
It requires Java 1.5 or newer and was created by Juan M. Aguirregabiria with Easy Java Simulations (Ejs) by Francisco Esquembre. I thank Wolfgang Christian and Francisco Esquembre for their help.