Compute the work done by or against friction for an object moving a known distance on a flat rough surface.