NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
October 21, 2014, 12:51:59 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
You cannot always have happiness but you can always give happiness. ..."Mother Teresa(1910-1997, Roman Catholic Missionary, 1979 Nobel Peace Prize)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: 1 [2]   Go Down
  Print  
Author Topic: Pendulum  (Read 383608 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3057



WWW
«
Embed this message
Reply #30 on: June 05, 2010, 11:33:39 pm » posted from:Taipei,T\'ai-pei,Taiwan

The source code is available as attached file under the first message (Please read the topic message carefully and you should have found it).
Logged
TaraLaster
Newbie
*
Offline Offline

Posts: 8


«
Embed this message
Reply #31 on: December 18, 2013, 10:50:39 am » posted from:Makati,Manila,Philippines

<center><applet code="pendulumSystem.class" width=500 height=350 codebase="/java/Pendulum/"><param name="Reset" value="Reset"><param name="Pause" value="Pause"><param name="Show" value="Show"><param name="Resume" value="Resume"><param name="" value=""></applet></center>

You are welcomed to check out Force analysis of a pendulum
<hr ALIGN=LEFT WIDTH="100%">
<font size=+1>How to change parameters?</font>
<ol>Set the initial position
<font color="#0000FF">Click and drag the left mouse button</font>
<ol>The horizontal position of the pendulum will follow the mouse Animation starts when you release the mouse button</ol>
<li>Adjust the length</li>
 <font color="#0000FF">dragging the pointer (while > holding down the left button)</font>
<ol><font color="#0000FF">from the support-point </font>(red dot) to a position that sets the length you want.</ol>
Animation starts when you release the mouse button
<li>Change gravity <font color="#FF0000">g</font></li>
 <font color="#0000FF">Click near the tip of the red arrow</font>,
<ol>and drag the mouse button to change it (up-down).</ol>
<li>Change the mass of the bob</li>
 <font color="#0000FF">Click near the buttom of the black stick,</font>
<ol>and drag the mouse button to change it (up-down).</ol>
</ol>
Information displayed:
<ul>1. red dots: kinetic energy <font color="#0000FF">K = m v*v /2 </font>of the bob 2. blue dots: potential energy <font color="#0000FF">U = m g h</font>of the bob
<font color="#0000FF">Try ro find out the relation between kinetic energy and pontential energy!</font> 3.black dots (pair) represent the peroid T of the pendulum
<ul>move the mouse to the dot :
<ul>will display information for that dot in the textfield</ul>
</ul></ul>
Click show checkbox to show more information
<ol>blue arrow(1): gravity green arrows(2): components of gravity red arrow
(1): velocity of the bob
<font color="#0000FF">Try to compare velocity and the tangential component of the gravitional force!</font></ol>
<hr WIDTH="100%">The calculation is in real time (use Runge-Kutta 4th order method). The period(T) is calculated when the velocity change direction.
<ul><font color="#0000FF">You can produce a period verses angle ( T - X ) curve on the screen,just started at different positions and wait for a few second.</font></ul>

Therotically, the period of a pendulum T=\sqrt{g/L}.
Purpose for this applet:
1. The period of the pendulum mostly depends on the length of the pendulum and the gravity (which is normally a constant)
2. The period of the pendulum is independent of the mass.
3. The variation of the pendulum due to initial angle is very small.

The equation of motion for a pendulum is \frac{d^2\theta}{dt^2}=-\frac{g}{L}\, \sin\theta
when the angle is small math_failure (math_unknown_error): \theta &lt;&lt; 1 ,\sin\theta\approx \theta
so the above equation become \frac{d^2\theta}{dt^2}\approx-\frac{g}{L}\, \theta
which imply it is approximately a simple harmonic motion with period T=2\pi \sqrt{\frac{L}{g}}

What is the error introduced in the above approximation?
From Tayler's expansion \sin\theta=\theta-\frac{\theta^3}{3!}+\frac{\theta^5}{5!}-\frac{\theta^7}{7!}+\frac{\theta^9}{9!}-\frac{\theta^11}{11!}+...
To get first order approximation, the error is \frac{\theta^3}{3!}=\frac{\theta^3}{6}
So the relative error (error in percentage)= \frac{\theta^3/6}{\theta}=\frac{\theta^2}{6}
If the angle is 5 degree, which mean \theta=5*pi/180\approx=5/60=1/12
So the relative error is \frac{\theta^2}{6}=1/(12^2*6)=1/(144*6)=1/864\approx 0.00116

For angle=5 degree , the relative error is less than 0.116%
For angle=10 degree , the relative error is less than 0.463%
For angle=20 degree , the relative error is less than 1.85%

So the period of the pendulum is almost independent of the initial angle (the error is relatively small unless the angle is much larger than 20 degree- for more than 2% error).


So sad.. still can't find resource code. Sad Do you have any other way?
Logged

“Hard-earned good money is hard to waste; but can still have some good moments.”
― Mymathdone.com
maciejmarosz
Newbie
*
Offline Offline

Posts: -15

«
Embed this message
Reply #32 on: April 18, 2014, 05:29:27 pm » posted from:Warsaw,Mazowieckie,Poland




MAROSZ'S PARADOX ? /  Paradoks Marosza ?


EN > http://youtu.be/-qLIjbjB0GU 

PL > http://youtu.be/lmKccRTQgy4



More about radial forces problem

EN > http://youtu.be/XWYFIUEaOmc  PL >http://youtu.be/rs8d1zBHgrw

http://2.bp.blogspot.com/-fKJMF7z908A/U0t2KnjvpxI/AAAAAAAABt0/ZhpYBUNw83M/s1600/ff.jpg



FIRST ENGINE THAT I MADE :

PL > http://youtu.be/YI2Vqf9TFi4
 EN > http://youtu.be/iTQweoVZspc


more

http://3.bp.blogspot.com/-NsHHVMzdvzg/Uz7plOHAFTI/AAAAAAAABno/QCS96DgHd94/s1600/exp.JPG

http://1.bp.blogspot.com/-JpeYrYct79g/Uz-1Zw70DrI/AAAAAAAABn8/VGpmzWH9i3Y/s1600/mt1.jpg

 EN > http://youtu.be/Aazwjy3n-fg

PL > http://youtu.be/uk9R7EylmQU



http://marosz-physics.blogspot.com/



Logged
Pages: 1 [2]   Go Up
  Print  
You cannot always have happiness but you can always give happiness. ..."Mother Teresa(1910-1997, Roman Catholic Missionary, 1979 Nobel Peace Prize)"
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Pendulum wave
Dynamics
Fu-Kwun Hwang 5 16881 Last post October 04, 2013, 06:17:05 am
by JacobHenry
Pendulum in 3D
Dynamics
Fu-Kwun Hwang 4 16019 Last post September 29, 2009, 01:34:11 pm
by Fu-Kwun Hwang
3D rotational pendulum also known as Furuta's pendulum by Francisco Esquembre
Dynamics
lookang 2 9552 Last post March 10, 2011, 07:04:23 pm
by ahmedelshfie
Coupled Pendulum
Dynamics
Fu-Kwun Hwang 0 2862 Last post April 11, 2013, 09:00:07 am
by Fu-Kwun Hwang
Coffee cup pendulum (demonstration and simulation)
Dynamics
Fu-Kwun Hwang 0 2718 Last post June 11, 2013, 10:28:57 am
by Fu-Kwun Hwang
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 1.058 seconds with 22 queries.since 2011/06/15