When is Energy Conserved?
The Law of Conservation of Energy only applies to a system if the system has zero total work done on it by a force external to the system or done by it on something external to the system.
Note: You can always set up your system so that no external work is done on the system or by the system.
Note: You can always set up your system so that no external work is done on the system or by the system.