Before revision: When the force is constant and the angle between the force and the displacement is also constant, then the work done is given by:
After revision: If the force is variable, then work is given bywhere is the tiny change in displacement vector.When the force is constant and the angle between the force and the displacement is also constant, then the work done is given by: