Mechanical Energy and Friction