The motion of each pendulum is calculated closed-form by first finding the angle and then the y and z coordinates.

The angle is found by integrating a second order differential equation, leveraging small angle approximation, because the max angle is \(15° \approx 0.2618\).