Real-time response of the simple pendulum: An experimental technique