LawSynthGitHub

Damped oscillator

A mass on a spring bleeding energy to friction — the simplest system where a recovered parameter (ζ) maps directly to a physical regime.

Discover

Recover the world from observations with a single deterministic command:

$ lawsynth discover oscillator.csv --time t --state x,v --output damped-oscillator.lsworld

Recovered law system

A clean run recovers the following continuous laws:

dx/dt = v
dv/dt = −ω² x − 2 ζ ω v

Fitted parameters: ω ≈ 2.0, ζ ≈ 0.15.

Next

Inspect and use the bundle:

$ lawsynth explain damped-oscillator.lsworld
$ lawsynth forecast damped-oscillator.lsworld --horizon 40 --step 0.05 --output damped-oscillator-forecast.csv
$ lawsynth report damped-oscillator.lsworld --output damped-oscillator.html