This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2012/10/10

Pendulum Demo

This pendulum demo includes a pendulum that can vary in length and swing; plus a range bar with graphing on a scroll.

Use 'up' and 'down' to adjust length of wire.
At any time you can adjust the swing by dragging to a new angle. The best place to grab the pendulum is at the ceiling plate.

4542 views / 15 in the last 7 days

2 votes | 0 in the last 7 days

Tags: mouse simulation demo with-source scroll danpost graph pendulum

This scenario is a member of: Demos by danpost


open in greenfoot
Your browser does not support the canvas tag.
MatheMagicianMatheMagician

2012/10/11

Are you calculating the period of the pendulum using this equation: 2PI*sqrt(length/gravity)
danpostdanpost

2012/10/11

I am using a cosine function to regulate the pendulum. Multiplied by the maximum angle give the current angle of the pendulum. The length of the wire is an inverse factor of the incremental change in the function. I do not know how this translates in terms of its period.
MatheMagicianMatheMagician

2012/10/11

The principle is, the pendulum should be increasing by the square root function of its length.
A new version of this scenario was uploaded on Thu Oct 11 15:20:30 UTC 2012 Pendulum swing period now implements 2 * PI * sqrt ( g / L ).
A new version of this scenario was uploaded on Thu Oct 11 15:38:44 UTC 2012 Pendulum swing period now implements 2 * PI * sqrt ( L / g ).
A new version of this scenario was uploaded on Fri Oct 12 12:58:20 UTC 2012 A demonstration of a pendulum in action. Completed documentation. Make graph a little smoother by connecting the points.
A new version of this scenario was uploaded on Fri Oct 12 13:11:52 UTC 2012 A demonstration of a pendulum in action. Completed documentation. Make graph a little smoother by connecting the points.
A new version of this scenario was uploaded on 2020-10-31 11:09:37 UTC

Want to leave a comment? You must first log in.

Who likes this?

henryufo85 blahblah26