Kinetic energy and potential energy transformation