The total energy EM is not constant. The frictional damping force acts as a dissipative force, giving the movements characteristic of a damped oscillator.
Click on to go on step by step.
Click and drag the moving mass to set new initial conditions.