An engine, such as the one in a car, converts the chemical energy in gasoline to mechanical energy when the engine moves. Not all of the energy in the gasoline is converted to the movement of the engine. Some energy is lost to sound and heat. Which of the following shows how the energy input and output of an engine demonstrate the law of conservation of energy?