NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Dynamics => Topic started by: Fu-Kwun Hwang on June 07, 2005, 03:42:03 pm



Title: Double pendulum
Post by: Fu-Kwun Hwang on June 07, 2005, 03:42:03 pm
This applet simulate motion of a double pendulum.


[youtube=QXf95_EKS6E]


Title: Re: Double pendulum
Post by: Fu-Kwun Hwang 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;


Title: Re: Double pendulum
Post by: flower on January 28, 2012, 07:35:31 pm
how i can get the code of this java stimulation for the double pendulum .please help me ;)


Title: Re: Double pendulum
Post by: Fu-Kwun Hwang on January 28, 2012, 08:45:52 pm
The above simulation was created/generated with EJS (http://www.um.es/fem/EjsWiki/).
You can download the EJS source from the above link (You need to login to the forum) and open it with EJS.