Work done by friction
W = F.S. W = FS cos x. X being angle between applied force and displacement of object due to the force. Work done due to a force is calculated as the product of force applied and displacement in the direction of the force applied.