The sum of the kinetic energy and the potential energy of a body (mechanical energy) remains constant, provided there are no forces of friction.
Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España Ministerio de Educación, Cultura y Deporte