Python Forum

Full Version: Simple pendulum with variable length
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I need to model a simple pendulum with a variable length. I found a differential equation with two variables, does somebody know a method or an algorithm to resolve it ?

[Image: f3fb9f258f539e571a1e806b0bb14b1341f77037]

Thanks!
you should attempt your own version, but here's one implementation (which I can't vouch for, as I haven't tried it) to use as a guide: https://github.com/AliShug/numpy-pendulum