Harmonic Oscillator solution graph

To view explanation, please click here.

To go back to main page, please click here.

Control

Show exact solution
Show estimated solution
$\omega_0$
$\gamma$
$\max x$
$F_0$
$\omega_d$ 7
$\Delta$

Description

The graph aboves shows the solution x(t) to the following second-order differential equation:

$\frac{d^2x}{dt^2} = -\omega_0 x - \gamma \frac{dx}{dt} + F_0 \cos\omega_d t$

You can adjust the parameters with the sliders above to observe the behavior of the solution when the parameters are changed. The initial conditions are:

$x(0) = 0$ and $\frac{dx}{dt}(0) = 0$

The estimated numerical solution is obtained using Euler method.

Note: checkbox does not work with Edge