To do this, the task must be formulated in the sense of an

The vector

The vector

The solution is determined as a function of the independent variable t for 0 ≤ t ≤ t

The solution is displayed graphically as a function curve and optionally also as a table of values.

The methods used here are explicit one-step methods, one of them with step size control, which achieves the best results.

A

To do this, n-1 auxiliary variables are introduced for y

So you can get the 2nd order differential equation a(t)y

y

y

y

Example 2: free damped oscillation

Example 3: excited damped oscillation with excitation above the resonance frequency

Example 4: excited undamped oscillation with excitation in the resonance

Example 5: Transient process at excitation frequency above the resonance frequency

Example 6: Transient process at excitation frequency below the resonance frequency

Example 7: harmonically excited damped oscillation with disturbance of the excitation at 15s (ignites the homogeneous solution again)

Example 8: excited damped oscillation with 2 different excitation frequencies

Example 9: Transient process in the aperiodic limit case

Example 10: Nonlinear free oscillation (pendulum at large amplitudes)

Example 11: Nonlinear free oscillation (frictional damping)

Example 12: Nonlinear free oscillation, wobble oscillation (restoring force is nonlinear)

Example 13: Nonlinear free oscillation (restoring force is proportional to the square of the deflection

Example 14: 3rd order differential equation with pulse excitation (via short square wave pulse)

Example 15: 4th order differential equation with impulse excitation (via initial condition)

Example 16: elastically cushioned impact of a moving mass on a stationary mass

Example 17: Impulse response of an untethered, damped 2-mass oscillator

Example 18: Predator-prey model (Lotka-Volterra equations)

more JavaScript applications