Why Does My Pendulum Give Wrong Answers