The Pendulum: A Case Study in Physics