find the total work done during the cycle.