Relationship between kinetic energy and position on a hill