SimplePendulumExplo​rer

Calculates motion of a nonlinear pendulum and simulates laboratory measurements and analysis.

You are now following this Submission

A common laboratory exercise in introductory physics entails observation of the motion of a simple pendulum using a photogate stationed at the stable equilibrium point. The student measures the period as a function of maximum angular displacement and attempts to examine the validity of the harmonic small angle approximation.
This Live Script calculates the exact solution for the motion of an ideal nonlinear pendulum released from rest for a range of initial angles and compares the results to those obtained by numerical integration of the equation of motion and to the harmonic approximation. It illustrates nonlinear fitting of simulated student data for period versus amplitude with exact and approximate models. The script may interest students and instructors of physics and engineering. Try this suggestions are included for further exploration.

Cite As

Duncan Carlsmith (2026). SimplePendulumExplorer (https://ch.mathworks.com/matlabcentral/fileexchange/123610-simplependulumexplorer), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.01

Added interactive_examples tag

1.0.1

Additional references

1.0.0