On The Modeling And Simulation Of Friction