Coupled Pendulum
Copyright 2010 Andrew Stacey
A demonstration of a system comprising two pendula. The pendula
can be coupled or not, and can experience friction or not.
Controls: the bobs can be dragged to any starting position
(though they always start with zero velocity) by click-and-dragging
with the mouse. If the control button is held down then only
the angle changes, otherwise both the angle and length of rod
change. The masses, the coupling constants, and the friction
can be changed by using the slider bars at the left. Whether
or not the pendula are coupled, or experience friction, is
controlled by the toggle buttons on the right. Contrary to
physics, it is possible to have one pendulum coupled to the
other without the other coupled to the first.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
Source code: Pendulum
Built with Processing