image thumbnail

spring pendulum with movable support - Lagrange Mechanics

version (267 KB) by Lucas Tassilo Scharbrodt
solve and animate the equations of motion


Updated 11 Jul 2018

View License

This system has 3 generalized coordinates : displacement of the spring , deflection angle of the (spring-)pendulum , and translation of the support.
Hence it's described by 3x 2nd order nonlinear ODE's and matlab has to solve 6x linearized 1st order ODE's .
Since the equations are rather complex , they're not stated here in this description. The .zip contains a .mp4 file of the animation.

Cite As

Lucas Tassilo Scharbrodt (2022). spring pendulum with movable support - Lagrange Mechanics (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!