PPT Slide
If the system is not mechanically isolated there might be other
forces doing work on the system
For example, friction might be the “other force” doing work,
taking energy out of the mechanical system
and putting it in the thermal system.
There is no potential associated with friction.
W could also be you, lifting an object putting energy into the system