NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
December 10, 2019, 09:34:18 pm

"Choose a job you love, and you will not have to work for a day in your life." ...Confucius (551-479 BC)

 Pages: [1]   Go Down
 Author Topic: Double pendulum  (Read 37599 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: 3084

 « 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

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
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3084

 « 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: 3084

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

The above simulation was created/generated with EJS.