Numerical Study of a Forced Pendulum with Friction