© Philip Joyce 2020
P. JoycePractical Numerical C Programminghttps://doi.org/10.1007/978-1-4842-6128-6_9

9. Pendulum Simulation

Philip Joyce1 
(1)
Goostrey, UK
 

9.1 Pendulum Theory

../images/497617_1_En_9_Chapter/497617_1_En_9_Fig1_HTML.jpg
Figure 9-1

Pendulum

The preceding diagram shows a pendulum of length l suspended from a point A. The pendulum has a mass m attached to it and it is held at an angle 𝞱 to the vertical.

We want to find out how this angle and the angular velocity of the pendulum vary with time. If you imagine a pendulum as in Figure 9-1, then when it is released the mass moves toward the left as shown. The angle, 𝞱, gets smaller as the mass moves to its lowest point. When it reaches its lowest point, ...

Get Practical Numerical C Programming: Finance, Engineering, and Physics Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.