Total Energy Of A Pendulum