A study of static and kinetic friction