A bayesian approach to the compound pendulum experiment using Markov chain Monte Carlo
Sushil Kumar Singh, Advait Advait, Savinder Kaur
Key points
From the paper's conclusion- The study demonstrates that the compound pendulum experiment can serve not only as a classical mechanics experiment but also a laboratory exercise through which students can gain hands-on experience with Bayesian inference, uncertainty quantification, and modern computational physics techniques.
Abstract
The compound pendulum experiment is one of the most common undergraduate physics experiments used to measure acceleration due to gravity. In most laboratory courses, data are usually analyzed using graphical methods or standard least-squares fitting. In this work, we show how the same classical experiment can also be used to introduce modern Bayesian computational techniques in a simple and accessible way. Experimental measurements of the oscillation period are analyzed using three different approaches: ordinary least-squares fitting, the Metropolis Markov Chain Monte Carlo (MCMC) algorithm, and ensemble MCMC using the emcee sampler. Along with gravitational acceleration g, the effective bar length L and a small pivot-offset correction parameter l0 are also estimated simultaneously. Unlike conventional fitting methods, Bayesian approaches provide full probability distributions of the parameters, their uncertainties, and the correlations between them. The study demonstrates that the compound pendulum experiment can serve not only as a classical mechanics experiment but also a laboratory exercise through which students can gain hands-on experience with Bayesian inference, uncertainty quantification, and modern computational physics techniques.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Reproducible Simulation‐Assisted Framework for Teaching Nonlinear Pendulum Dynamics in Engineering EducationComputer Applications in Engineering Education · 2026
- The value of equivalent models in physics teaching: a case study of the effective length of a large-amplitude pendulumPhysics Education · 2026
- Colibri: A new tool for fast-flying PDF fitsThe European Physical Journal C · 2026
- Surrogate-accelerated Bayesian Inversion for Exoplanet Interior CharacterizationThe Astrophysical Journal · 2026
- Photoentrainment as Bayesian Inference: How the central circadian clock may weight and integrate the intensity and wavelength of natural light to estimate astronomical timebioRxiv · 2026
- Adaptive Bayesian learning for stability characterization of re-entry vehiclesScientific Reports · 2026