European Journal of Physics

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