A frictionless cart is connected to a wall with springs. A number of springs and dampers connect the cart with two masses. A force perturbs one of the inner masses with three bodies (the cart and two masses) allowed to translate in one direction only.
The differential equations for all three bodies are defined and solved numerically using Mathcad's differential equation solvers. The displacement of all three bodies are plotted.
This worksheet contains a Mathcad 11 worksheet and a PDF conversion