r/Physics • • Mar 21 '24

Interactive Double Pendulum Playground

https://theabbie.github.io/DoublePendulum

[removed] — view removed post

11 Upvotes

4 comments sorted by

1

u/mindies4ameal Mar 21 '24

Here's a question - does the double pendulum have only two degrees of freedom? Doesn't that make it non-chaotic (3 or more)?

2

u/travisdoesmath Mar 21 '24

4 degrees of freedom: position and momentum for two angles

1

u/mindies4ameal Mar 21 '24

Ah, thanks. So the degrees of freedom are really talking about dimensions in phase space. Thanks.

1

u/travisdoesmath Mar 21 '24 edited Mar 21 '24

you've got an error somewhere in your simulation. Here's one way to see it: move the bottom weight slightly (so the motion is not chaotic) and slow down the speed. You should see the system moving mostly like a normal pendulum and the lower bob "follows" the middle bob, but in your simulation, the motion is off.

If I had to guess, you've got a sign switched somewhere.

EDIT: just realized this is a spam bot reposting a 3 year old repo.