Build a mass–spring–damper in about 5 minutes and see a live displacement curve.
Prerequisites
- Simit installed or access to the web workspace
- Basic familiarity with dynamic systems terminology
Outcomes
- A working MSD model with live scope output
- Tunable parameters (m, k, c) and reruns in seconds
- Ability to compare damping changes or step size adjustments
Quick steps
- Create a new model; set duration and step size.
- Add blocks: Step, Sum, Gain (×2), Integrator (×2), Scope.
- Wire the dynamics: force in, -k·x, -c·v, integrate to v and x, plot x.
- Set parameters (m, k, c) and initial conditions.
- Run and view the displacement response.
- Tweak damping or step size; rerun and compare curves.