Group Abstract Group Abstract

Message Boards Message Boards

0
|
18.9K Views
|
5 Replies
|
1 Total Like
View groups...
Share
Share this post:

Double pendulum in Mathematica

Posted 11 years ago

I've found this awesome Wolfram guide on how to create a double pendulum in Mathematica. But I'd like to know how to make it more interactive, I mean implement adjustable masses of the two pendulums, adjustable lengths of the rods, etc. I know I probably have to use Manipulate. I'd be very grateful for any help.

5 Replies
POSTED BY: Raspi Rascal

Like everything in physics modeling, one has to start with the equations of motion. Here is small note on the subject. with notebook. All what you have do is wrap it in a Manipulate. You can adjust the masses and the lengths using sliders. Some of these equations are used as basis for the triple pendulum demo

POSTED BY: Nasser M. Abbasi

I suggest you first put a single pendulum model inside Manipulate. Once you've got that running, move up to the double pendulum. It's easier to troubleshoot a simpler problem.

POSTED BY: Frank Kampas

Yes, I have seen these other projects, but they are way too complicated for me. The one I've posted is pretty simple. I just want to modify it a little to make it more interactive.

A simple search for Double pendulum in the Wolfram Demonstration Project gives a lot of results. Code is downloadable.

POSTED BY: Sam Carrettie
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard