In physics, work is defined as the total energy when an object is moved to a certain displacement by the application of external force. It is calculated by the expression W = Fd. For this case, the displacement is apparently zero, then there is no work in the system above.