Chaotic Pendulum
Andy Gijbels andy.gijbels@student.kuleuven.be gijbelsandy@hotmail.com www.agshome.tk
Copyright © 2006 by Andy Gijbels All rights reserved
Description
This Maple Worksheet solves the "Chaotic Pendulum" problem in a clear and understanding way. The results are visualised in several graphs and simulations.
Introduction
A chaotic pendulum is a two-dimensional dynamical system. It consists of a number of n rods connected to one an other by pivots and the pendulums contain point masses at the end of the light rods. The chaotic pendulum is an example of a physical system that exhibits chaotic behavior and shows a sensitive dependence on initial conditions.
The equations derived for the motion of the chaotic pendulum are based on Kinematics and Newton's Laws. Since energy is conserved in this physical workout, the motion of the chaotic pendulum will continue indefinitely. Solving this problem with Maple allows varying the number of pendulums to 5 without to long calculation periods, which is 'impossible' by hand. Maple also gives the possibility to visualise the results in a simulation.
Parameters can be set in the initialisation section!
Initialization
Packages
We will use pointplot from plots to draw the rods, disk from plottools to draw the masses and Norm from VectorCalculus to calculate the length of the velocity vectors.
Setup
Number of pendula
Real time duration simulation in seconds
Unable or disable trailfunction
Warning, `w` is implicitly declared local to procedure `trail`
Possible values: unable or disable Import message: Unabling the trailfunction can cause long calculation periods!!
Physical workout
Parameters
Gravitational acceleration
Mass
Standard all mass are taken equal, but you can change them manually if you wish.
Length
Standard all lengths are taken equal, but you can change them manually if you wish.
Initial angles
Between the pendulums and the vertical imaginary line through the beginning points of the pendula.
The initial angles can also be set differently.
Kinematics
Positionvectors
In function of the angles.
The hang-up point is defined as the origin, the y-axis points vertically up and the x-axis points to the right.
Velocities
Which are the derivates of the positions to the time.
Accelerations
Which are the derivates of the velocities to the time.
These equations we will need later to find a set of differential equations in function of the angles.
Forces
Explanation
We can derive two force equations ( for x- and y-direction) for each pendulum. S[i] with i>1 stands for contact forces between the pendulums and S1 stands for the contact force between the hang-up and the first pendulum.
Equations
Eliminationprocedure contactforces
We can't calculate the contact forces between the pendulums, so we will eliminate these forces out of our equations so they can't cause any trouble in later calculations. The elimination procedure will reduce the total amount of equations from 2xn to n. This does not form a problem because we only need n equations to find n parameters: the angles.
Eliminations
Differential equations
Initialisation
T is the time interval in seconds between two points in time where we will evaluate the angles the pendulums make. N_steps is the number of times we will evaluate. So N_steps x T is the real time duration of the simulation.
Initial conditions
The initial angle velocities are set to zero.
The total set of n differential equations. Notice that they can't be solved separately, because the motion of a particular pendulum depends on the other pendulums due to the contact forces.
Numerical Solution
We will solve the differential equations N_steps times with a time interval T between each solution.
Conservation of Energy
One Pendulum (for example the first pendulum)
Kinetic Energy
Ek = m.v²/2. v has to be the absolute speed which is the Norm of the vector sum of the relative velocity (relative to the vertical line through the beginning point of the pendulum) and the absolute velocity of the previous pendulum.
Potential Energy
Ep = m.g.h. Because the hang-up point is defined as the origin and the y-axis points vertically up, the height can be negative, so the potential energy can be negative too!
Total Energy
The total energy is the sum of the kinetic and potential energy and has to be constant if there is conservation of energy
Conclusion
If the system contains more than one pendulum, we cannot speak of conservation of energy for each pendulum separately because of the interaction between the pendulums.
Total System
Ek = m.v²/2. v has to be the absolute speed which is the Norm of the vector sum of the relative velocity (relative the the vertical line through the beginning point of the pendulum) and the absolute velocity of the previous pendulum.
Ep = m.g.h. Because the hang-up point is defined as the origin and the y-axis points vertically up the height can be negative, so the potential energy can be negative too!
The total energy is the sum of the kinetic and potential energy and has to be constant if there is conservation of energy.
The total amount of energy is constant, so we can conclude that there is conservation of energy for the entire system.
Simulations
Without trail
Implementation
Visualisation
Please download workseet to see animation
With trail
Legal Notice: The copyright for this application is owned by the author(s). Neither Maplesoft nor the author are responsible for any errors contained within and are not liable for any damages resulting from the use of this material. This application is intended for non-commercial, non-profit use only. Contact the author for permission if you wish to use this application in for-profit activities.