Defines a Duffing equation: x'' + δx' + αx + βx^3 = γcos(ωt). Equivalent: x'' = -δx' - αx - βx^3 + γcos(ωt).
δ
α
β
γ
ω
const ode = Chalkboard.diff.Duffing(0.2, -1, 1, 0.3, 1.2);const acceleration = ode.rule(0, [1, 0]); // Evaluates a Duffing oscillator Copy
const ode = Chalkboard.diff.Duffing(0.2, -1, 1, 0.3, 1.2);const acceleration = ode.rule(0, [1, 0]); // Evaluates a Duffing oscillator
Defines a Duffing equation: x'' + δx' + αx + βx^3 = γcos(ωt). Equivalent: x'' = -δx' - αx - βx^3 + γcos(ωt).