When there is no friction in the system, a pendulum is assumed to be undergoing simple harmonic motion. However, once friction is introduced, the oscillation amplitude seems to decrease with time. What type of oscillation is the pendulum undergoing then? Given enough time, it would slow down and eventually stop. Comment on what happens to the energy of the system.