NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 27, 2020, 02:07:08 pm

Brevity is the Soul of wit. ..."Shakespeare (154-1616, English dramatist and poet) "

 Pages: [1]   Go Down
 Author Topic: Pendulum in 3D  (Read 4885 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message on: June 08, 2010, 07:13:41 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

This following applet is Pendulum in 3D
Created by prof Hwang Modified by Ahmed
Original project Pendulum in 3D

This is a pendulum in 3D.
Let the angle between the pendulum and the vertical line is $\theta$ and the angular velocity $\omega=\frac{d\theta}{dt}$
And the angle of the pendulum (projected to x-y plane) with the x-axis is \phi, and it's angular velocity \dot\phi=\frac{d\phi}{dt}

The lagrange equation for the system is $L=T-V$ = $\tfrac{1}{2}m (L\dot\theta)^2+\tfrac{1}{2}m (L\sin\theta \dot{\phi})^2- (-mgL\cos\theta)$

The equation of the motion is

$\ddot\theta=\sin\theta\cos\theta\dot{\phi}^2-\frac{g}{L}\sin\theta$ ...... from $\frac{d}{dt}(\frac{\partial L}{\partial \dot{\theta}})-\frac{\partial L}{\partial \theta}=0$
and
$m L^2 \sin\theta^2 \dot{\phi}=const$ Angular momentum is conserved. ...... from $\frac{d}{dt}(\frac{\partial L}{\partial \dot{\phi}})-\frac{\partial L}{\partial \phi}=0$

And the following is the simulation of such a system:
When the checkbox (circular loop) is checked, $\omega=0$. and $\dot{\phi}= \sqrt{\frac{g}{L\cos\theta}}$ It is a circular motion.
The vertical component tangential of the string balanced with the mass m, and the horizontal component tangential provide the centripetal force for circular motion.

You can uncheck it and change the period $T=\frac{2\pi}{\dot{\phi}}$ ,
and you will find out the z-coordinate of the pendulum will change with time when
$\omega\neq 0 or \dot{\phi}\neq \sqrt{\frac{g}{L\cos\theta}}$
You can also drag the blue dot to change the length of the pendulum.

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
• Please feel free to post your ideas about how to use the simulation for better teaching and learning.
• Post questions to be asked to help students to think, to explore.
• Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
 pendulum 3d.gif (14.52 KB, 577x575 - viewed 713 times.) Logged
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message Reply #1 on: June 08, 2010, 07:25:03 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

Another version to Pendulum in 3D with cylinder3D
Prees eye for you watch applet

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list