Click here to download the source code to the chaotic Pendulum.