simple pendulum with friction