State the energy changes in the following cases while in use: