Workon on pendulum.