Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Physical Pendulum in a Hamiltonian Formulation
Authors

David M. Harrison
Organization: Dept. of Physics, Univ. of Toronto
Solomon Castillo Douglas
Theodore G. Shepherd
Organization: Univ. of Toronto
Department: Department of Physics
Old MathSource #

0206-109
Revision date

1998-09-30
Description

Using C-code communicating with Mathematica via Mathlink, this package solves the undamped pendulum in a Hamiltonian formulation using a variety of Runge-Kutta algorithms including a symplectic integrator. Separate files allow solving the undriven and driven pendulum.
Subject

*Science > Physics > Mechanics
Keywords

Physics, College Courseware, Education, Mechanical Engineering, MathLink, Hamiltonian, Driven pendulum, undriven pendulum
Downloads

Download
Makefile (310 B) - simple makefile to compile the binaries
Download
Pendulum.README (758 B) - Author notes
Download
Pendulum.ps (53.6 KB) - PostScript documentation for the Pendulum package
Download
perturbed.c (6.5 KB) - MathLink C file for driven pendulum
Download
perturbed.tm (4.4 KB) - MathLink template for driven pendulum
Download
simple.c (6.5 KB) - MathLink C file for simple pendulum
Download
simple.tm (2.8 KB) - MathLink template for simple pendulum

Files specific to Mathematica 2.2 version:
Download
Pendulum.README (2.3 KB) - Author notes