NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
September 23, 2020, 10:32:11 pm
 Welcome, Guest. Please login or register.Did you miss your activation email? 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length

 Home Help Search Login Register
Wisdom is to form a good attitude and a healthy lifestyle. ...Wisdom

 Pages: [1]   Go Down
 Author Topic: Double pendulum  (Read 38009 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3085

 « Embed this message on: June 07, 2005, 03:42:03 pm »

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

This applet simulate motion of a double pendulum.

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3085

 « Embed this message Reply #1 on: April 21, 2008, 10:22:31 am »

Equation of motion for the above double pendulum.

if c1,c2 are angle for those two pendulums, w1,w2 are angular frequency for two pendulum. (1 is the upper one)
m1,m2 are mass for two pendulum. gravity is g=9.8m/s2
d(w1)/dt= -gravity*((m1+m2)*Math.sin(c1)-m2*Math.sin(c2)*Math.cos(c1-c2))/((m1+m2)-m2*Math.cos(c1-c2)*Math.cos(c1-c2))/L1;
d(w2)/dt= -gravity*(m1+m2)*(Math.sin(c1)*Math.cos(c1-c2)-Math.sin(c2))/(m2*Math.cos(c1-c2)*Math.cos(c1-c2)-(m1+m2))/L2;
 Logged
flower
Newbie

Offline

Posts: 1

 « Embed this message Reply #2 on: January 28, 2012, 07:35:31 pm » posted from:Beirut,Beyrouth,Lebanon

how i can get the code of this java stimulation for the double pendulum .please help me
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3085

 « Embed this message Reply #3 on: January 28, 2012, 08:45:52 pm »

The above simulation was created/generated with EJS.
You can download the EJS source from the above link (You need to login to the forum) and open it with EJS.

 Logged
 Pages: [1]   Go Up
Wisdom is to form a good attitude and a healthy lifestyle. ...Wisdom